<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Win32k: server.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Win32k
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('a03665.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle">
<div class="title">kernel/server.c 文件参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="a03629_source.html">precomp.h</a>&quot;</code><br />
</div>
<p><a href="a03665_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a213c018b74c5c3ab31e7cb4047a0c3f4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a213c018b74c5c3ab31e7cb4047a0c3f4">USRINIT_SHAREDSECT_SIZE</a>&#160;&#160;&#160;32</td></tr>
<tr class="separator:a213c018b74c5c3ab31e7cb4047a0c3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaedc4be2cd4b6dabc14fe7a0e176fed6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#aaedc4be2cd4b6dabc14fe7a0e176fed6">USRINIT_ATOMBUCKET_SIZE</a>&#160;&#160;&#160;37</td></tr>
<tr class="separator:aaedc4be2cd4b6dabc14fe7a0e176fed6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47b2fe5eca3094683b81fecdc8ba5ac8"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a47b2fe5eca3094683b81fecdc8ba5ac8">USRINIT_WINDOWSECT_SIZE</a>&#160;&#160;&#160;512</td></tr>
<tr class="separator:a47b2fe5eca3094683b81fecdc8ba5ac8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8be4a3d458f25daea3ccbfc5f2e9b97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ac8be4a3d458f25daea3ccbfc5f2e9b97">USRINIT_NOIOSECT_SIZE</a>&#160;&#160;&#160;128</td></tr>
<tr class="separator:ac8be4a3d458f25daea3ccbfc5f2e9b97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a491331f7155abd51915fbfc0afedaf2a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a491331f7155abd51915fbfc0afedaf2a">USRINIT_SHAREDSECT_BUFF_SIZE</a>&#160;&#160;&#160;640</td></tr>
<tr class="separator:a491331f7155abd51915fbfc0afedaf2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30436e4813d55c667d22c3854948748c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a30436e4813d55c667d22c3854948748c">USRINIT_SHAREDSECT_READ_SIZE</a>&#160;&#160;&#160;(<a class="el" href="a03665.html#a491331f7155abd51915fbfc0afedaf2a">USRINIT_SHAREDSECT_BUFF_SIZE</a>-33)</td></tr>
<tr class="separator:a30436e4813d55c667d22c3854948748c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9c37df64c4df224d00922b177e4b014"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ae9c37df64c4df224d00922b177e4b014">WRAPPFN</a>(pfn,  <a class="el" href="a00563.html#a7b9b0ae15722c1f5e47208b05166acf3">type</a>)</td></tr>
<tr class="separator:ae9c37df64c4df224d00922b177e4b014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9119492a4faef6d99a34be5b378d4dd5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(member,  procname)</td></tr>
<tr class="separator:a9119492a4faef6d99a34be5b378d4dd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d467c1d283fdfa1f2081ba1e0d01b6e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a7d467c1d283fdfa1f2081ba1e0d01b6e">PAGE_SIZE</a>&#160;&#160;&#160;0x1000</td></tr>
<tr class="separator:a7d467c1d283fdfa1f2081ba1e0d01b6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae16d8ff8c8b1262d8c8a3b9a97bc58e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ae16d8ff8c8b1262d8c8a3b9a97bc58e7">ROUND_UP_TO_PAGES</a>(SIZE)&#160;&#160;&#160;(((ULONG)(SIZE) + <a class="el" href="a03665.html#a7d467c1d283fdfa1f2081ba1e0d01b6e">PAGE_SIZE</a> - 1) &amp; ~(<a class="el" href="a03665.html#a7d467c1d283fdfa1f2081ba1e0d01b6e">PAGE_SIZE</a> - 1))</td></tr>
<tr class="separator:ae16d8ff8c8b1262d8c8a3b9a97bc58e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a918fc1eb1f0165782d6642f0ecea5c90"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a918fc1eb1f0165782d6642f0ecea5c90">CALC_DELTA</a>(element)</td></tr>
<tr class="separator:a918fc1eb1f0165782d6642f0ecea5c90"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:af055163aa935641052a93a51af158b08"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#af055163aa935641052a93a51af158b08">InitQEntryLookaside</a> (VOID)</td></tr>
<tr class="separator:af055163aa935641052a93a51af158b08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94d8e171ecf569e641e9c7d938b6d3aa"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a94d8e171ecf569e641e9c7d938b6d3aa">InitKeyStateLookaside</a> (VOID)</td></tr>
<tr class="separator:a94d8e171ecf569e641e9c7d938b6d3aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57696311f50b9ef1cd14b4a13525887b"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a57696311f50b9ef1cd14b4a13525887b">InitSMSLookaside</a> (VOID)</td></tr>
<tr class="separator:a57696311f50b9ef1cd14b4a13525887b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c2749fb852a211724fa62099076d750"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a5c2749fb852a211724fa62099076d750">xxxClientLoadDisplayResource</a> (PUNICODE_STRING, <a class="el" href="a00365.html#aca34b9591deb3dc39c7ebed9015d9b0f">PDISPLAYRESOURCE</a>)</td></tr>
<tr class="separator:a5c2749fb852a211724fa62099076d750"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00c37f6f9665c90db0ccc814ba381a62"><td class="memItemLeft" align="right" valign="top">LONG&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a00c37f6f9665c90db0ccc814ba381a62">xxxDesktopWndProc</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LPARAM lParam)</td></tr>
<tr class="separator:a00c37f6f9665c90db0ccc814ba381a62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6c04ad1ee282570c627a5858e7a6c4c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ac6c04ad1ee282570c627a5858e7a6c4c">WRAPPFN</a> (DesktopWndProc, <a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>)</td></tr>
<tr class="separator:ac6c04ad1ee282570c627a5858e7a6c4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96dcfc3928d47e43714c9449327c3e2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a96dcfc3928d47e43714c9449327c3e2a">xxxWrapCallNextHookEx</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam)</td></tr>
<tr class="separator:a96dcfc3928d47e43714c9449327c3e2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25f3d85db4c4fb494b12ec71e890df57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a25f3d85db4c4fb494b12ec71e890df57">xxxWrapSendMessage</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam)</td></tr>
<tr class="separator:a25f3d85db4c4fb494b12ec71e890df57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f1a55755a2fae46af022e1bf4d70b8a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam)</td></tr>
<tr class="separator:a8f1a55755a2fae46af022e1bf4d70b8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c77f1446af6dfc359fe36b30def501f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a0c77f1446af6dfc359fe36b30def501f">xxxWrapCallWindowProc</a> (<a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a> pwnd, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> message, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam, LONG lParam, <a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam)</td></tr>
<tr class="separator:a0c77f1446af6dfc359fe36b30def501f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa55b99d86799bb7ad6e88cadf6eca03"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#afa55b99d86799bb7ad6e88cadf6eca03">InitSyncOnlyMessages</a> (VOID)</td></tr>
<tr class="separator:afa55b99d86799bb7ad6e88cadf6eca03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ff56fde8aa3ae5a677e3f962782bd74"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a9ff56fde8aa3ae5a677e3f962782bd74">InitWindowMsgTable</a> (PBYTE *ppbyte, PUINT pmax, CONST WORD *pw)</td></tr>
<tr class="separator:a9ff56fde8aa3ae5a677e3f962782bd74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a349764fdd7b2214824e1a0251ddf44dd"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a349764fdd7b2214824e1a0251ddf44dd">InitFunctionTables</a> (VOID)</td></tr>
<tr class="separator:a349764fdd7b2214824e1a0251ddf44dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0cf0d1860a2b65c5ba7c45968901d151"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a0cf0d1860a2b65c5ba7c45968901d151">InitMessageTables</a> (VOID)</td></tr>
<tr class="separator:a0cf0d1860a2b65c5ba7c45968901d151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc38edc4aa6ec3ec11f134d55046fa48"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#acc38edc4aa6ec3ec11f134d55046fa48">InitMBStringArrays</a> (VOID)</td></tr>
<tr class="separator:acc38edc4aa6ec3ec11f134d55046fa48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf8abf36ba0d730b8ee779c51d042b4c"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#adf8abf36ba0d730b8ee779c51d042b4c">InitOLEFormats</a> (VOID)</td></tr>
<tr class="separator:adf8abf36ba0d730b8ee779c51d042b4c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4eaf02d7e71b99ea472ad35fc41d2c5"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ae4eaf02d7e71b99ea472ad35fc41d2c5">InitGlobalRIPFlags</a> (VOID)</td></tr>
<tr class="separator:ae4eaf02d7e71b99ea472ad35fc41d2c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad12513a3ecd55f55e45f728c09cc8852"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ad12513a3ecd55f55e45f728c09cc8852">_GetTextMetricsW</a> (HDC hdc, LPTEXTMETRICW ptm)</td></tr>
<tr class="separator:ad12513a3ecd55f55e45f728c09cc8852"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af57d5de27a6e10fb74f08b9bc0080c67"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#af57d5de27a6e10fb74f08b9bc0080c67">_TextOutW</a> (HDC hdc, int x, int y, LPCWSTR lp, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> cc)</td></tr>
<tr class="separator:af57d5de27a6e10fb74f08b9bc0080c67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a431e3b2937e2b1f58e5b374914c279b7"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a431e3b2937e2b1f58e5b374914c279b7">InitCreateSharedSection</a> (ULONG ulHeapSize)</td></tr>
<tr class="separator:a431e3b2937e2b1f58e5b374914c279b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bfa0036b781d5a5c71384d51272b644"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a0bfa0036b781d5a5c71384d51272b644">InitCreateUserCrit</a> (VOID)</td></tr>
<tr class="separator:a0bfa0036b781d5a5c71384d51272b644"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ee6de487f7b9dc690a7ed4ba7f4d72b"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a6ee6de487f7b9dc690a7ed4ba7f4d72b">InitCreateObjectDirectory</a> (VOID)</td></tr>
<tr class="separator:a6ee6de487f7b9dc690a7ed4ba7f4d72b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8e2dcc6ecdd809ace39fb592f62c45a"><td class="memItemLeft" align="right" valign="top">BOOL&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ab8e2dcc6ecdd809ace39fb592f62c45a">InitCreateUserSubsystem</a> (VOID)</td></tr>
<tr class="separator:ab8e2dcc6ecdd809ace39fb592f62c45a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28db47ab974a03492b98573179d3b5e9"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a28db47ab974a03492b98573179d3b5e9">InitMapSharedSection</a> (PEPROCESS Process, <a class="el" href="a00365.html#a6607168cd24200c8c13a1f74220a63c9">PUSERCONNECT</a> pUserConnect)</td></tr>
<tr class="separator:a28db47ab974a03492b98573179d3b5e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a69383a188c05921aeda5715ddb2336"><td class="memItemLeft" align="right" valign="top">VOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a2a69383a188c05921aeda5715ddb2336">InitLoadResources</a> (VOID)</td></tr>
<tr class="separator:a2a69383a188c05921aeda5715ddb2336"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7bfbf52ae1db2765aeb068d42918ef3"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ae7bfbf52ae1db2765aeb068d42918ef3">GetCharDimensions</a> (HDC hdc, TEXTMETRIC *lptm, LPINT lpcy)</td></tr>
<tr class="separator:ae7bfbf52ae1db2765aeb068d42918ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65e88beffa25de9ddfe02a78c5818d95"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a65e88beffa25de9ddfe02a78c5818d95">UserInitialize</a> (VOID)</td></tr>
<tr class="separator:a65e88beffa25de9ddfe02a78c5818d95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23662452c75245b608608c8134b81786"><td class="memItemLeft" align="right" valign="top">HDC&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a23662452c75245b608608c8134b81786">UserGetDesktopDC</a> (ULONG <a class="el" href="a00563.html#a7b9b0ae15722c1f5e47208b05166acf3">type</a>, BOOL bAltType)</td></tr>
<tr class="separator:a23662452c75245b608608c8134b81786"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e0ac133c874e5167a899da393955cc5"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a8e0ac133c874e5167a899da393955cc5">UserThreadCallout</a> (IN PW32THREAD Thread, IN PSW32THREADCALLOUTTYPE CalloutType)</td></tr>
<tr class="separator:a8e0ac133c874e5167a899da393955cc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5af712a9b1d558a97c4167ffd119afb"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#af5af712a9b1d558a97c4167ffd119afb">NtUserInitialize</a> (<a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwVersion, FARPROC pfnDebugAttachRoutine)</td></tr>
<tr class="separator:af5af712a9b1d558a97c4167ffd119afb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b9e49f9c130f7da1780f671a8fe468c"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a7b9e49f9c130f7da1780f671a8fe468c">NtUserProcessConnect</a> (IN HANDLE hProcess, IN OUT PVOID pConnectInfo, IN ULONG cbConnectInfo)</td></tr>
<tr class="separator:a7b9e49f9c130f7da1780f671a8fe468c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8ada4deb2f02da279ad4de32fbcc8e6"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ab8ada4deb2f02da279ad4de32fbcc8e6">UserProcessCallout</a> (IN PW32PROCESS Process, IN BOOLEAN Initialize)</td></tr>
<tr class="separator:ab8ada4deb2f02da279ad4de32fbcc8e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae855725e01770f0631a1e35da5fd5d64"><td class="memItemLeft" align="right" valign="top">HDEV&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ae855725e01770f0631a1e35da5fd5d64">UserGetHDEV</a> (VOID)</td></tr>
<tr class="separator:ae855725e01770f0631a1e35da5fd5d64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6623223c60ab90fdf12564f9f8e23bd4"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a6623223c60ab90fdf12564f9f8e23bd4">_UserGetGlobalAtomTable</a> (<a class="el" href="a00365.html#abce9368ed5b93dc4c0e3e9cc7c99157b">PETHREAD</a> Thread, HWINSTA hwinsta, PVOID *ppGlobalAtomTable)</td></tr>
<tr class="separator:a6623223c60ab90fdf12564f9f8e23bd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8615f6d42adb92cbe0073345db3e2939"><td class="memItemLeft" align="right" valign="top">NTSTATUS&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a8615f6d42adb92cbe0073345db3e2939">_UserSetGlobalAtomTable</a> (<a class="el" href="a00365.html#abce9368ed5b93dc4c0e3e9cc7c99157b">PETHREAD</a> Thread, HWINSTA hwinsta, PVOID pGlobalAtomTable)</td></tr>
<tr class="separator:a8615f6d42adb92cbe0073345db3e2939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c290ef957250277d511805c327d1c9f"><td class="memItemLeft" align="right" valign="top">PVOID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a2c290ef957250277d511805c327d1c9f">UserGlobalAtomTableCallout</a> (VOID)</td></tr>
<tr class="separator:a2c290ef957250277d511805c327d1c9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:add12a181e4a8f7a43675b95a36cfa85b"><td class="memItemLeft" align="right" valign="top">FARPROC&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#add12a181e4a8f7a43675b95a36cfa85b">gpfnDebugAttachRoutine</a></td></tr>
<tr class="separator:add12a181e4a8f7a43675b95a36cfa85b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e7b077bea590abecbf03bbdcc500682"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a6e7b077bea590abecbf03bbdcc500682">szEDITCLASS</a> = TEXT(&quot;Edit&quot;)</td></tr>
<tr class="separator:a6e7b077bea590abecbf03bbdcc500682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac17fa43589ff35c4d79cb36e113168d0"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ac17fa43589ff35c4d79cb36e113168d0">szBUTTONCLASS</a> = TEXT(&quot;Button&quot;)</td></tr>
<tr class="separator:ac17fa43589ff35c4d79cb36e113168d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af88583c92947d9e7bbec6876b8fdb101"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#af88583c92947d9e7bbec6876b8fdb101">szSTATICCLASS</a> = TEXT(&quot;Static&quot;)</td></tr>
<tr class="separator:af88583c92947d9e7bbec6876b8fdb101"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3592e492650aea4e68e9dc0d80eb6ae1"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a3592e492650aea4e68e9dc0d80eb6ae1">szLISTBOXCLASS</a> = TEXT(&quot;ListBox&quot;)</td></tr>
<tr class="separator:a3592e492650aea4e68e9dc0d80eb6ae1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae722290307af71f89f82600895ca3a14"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ae722290307af71f89f82600895ca3a14">szSCROLLBARCLASS</a> = TEXT(&quot;ScrollBar&quot;)</td></tr>
<tr class="separator:ae722290307af71f89f82600895ca3a14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13b185a06b3c04ed8425c9448a258aa8"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a13b185a06b3c04ed8425c9448a258aa8">szCOMBOLISTBOXCLASS</a> = TEXT(&quot;ComboLBox&quot;)</td></tr>
<tr class="separator:a13b185a06b3c04ed8425c9448a258aa8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7c7ce2e11f161ac4e642f9732065600"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#af7c7ce2e11f161ac4e642f9732065600">szCOMBOBOXCLASS</a> = TEXT(&quot;ComboBox&quot;)</td></tr>
<tr class="separator:af7c7ce2e11f161ac4e642f9732065600"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0a2d616779ca7ea6411c25a2df562f8"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ac0a2d616779ca7ea6411c25a2df562f8">szMDICLIENTCLASS</a> = TEXT(&quot;MDIClient&quot;)</td></tr>
<tr class="separator:ac0a2d616779ca7ea6411c25a2df562f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f25f213e6a5992c8db55068b9f13875"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a5f25f213e6a5992c8db55068b9f13875">szDDEMLEVENTCLASS</a> = TEXT(&quot;DDEMLEvent&quot;)</td></tr>
<tr class="separator:a5f25f213e6a5992c8db55068b9f13875"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a466c8bf9703eca2f411023af3153a165"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a466c8bf9703eca2f411023af3153a165">szDDEMLMOTHERCLASS</a> = TEXT(&quot;DDEMLMom&quot;)</td></tr>
<tr class="separator:a466c8bf9703eca2f411023af3153a165"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af610492c75647be75debb5a139a52bb4"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#af610492c75647be75debb5a139a52bb4">szDDEML16BITCLASS</a> = TEXT(&quot;DMGClass&quot;)</td></tr>
<tr class="separator:af610492c75647be75debb5a139a52bb4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49c4010b3158a12245b899d3da3bef05"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a49c4010b3158a12245b899d3da3bef05">szDDEMLCLIENTCLASSW</a> = L&quot;DDEMLUnicodeClient&quot;</td></tr>
<tr class="separator:a49c4010b3158a12245b899d3da3bef05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a157b3c92a59ba251347df35e34110837"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a157b3c92a59ba251347df35e34110837">szDDEMLSERVERCLASSW</a> = L&quot;DDEMLUnicodeServer&quot;</td></tr>
<tr class="separator:a157b3c92a59ba251347df35e34110837"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae082bbea04311a60dd8c068b385843"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a0ae082bbea04311a60dd8c068b385843">szDDEMLCLIENTCLASSA</a> = L&quot;DDEMLAnsiClient&quot;</td></tr>
<tr class="separator:a0ae082bbea04311a60dd8c068b385843"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af55e78226a1eab4e95cd36f25db6cfb6"><td class="memItemLeft" align="right" valign="top">LPCWSTR&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#af55e78226a1eab4e95cd36f25db6cfb6">szDDEMLSERVERCLASSA</a> = L&quot;DDEMLAnsiServer&quot;</td></tr>
<tr class="separator:af55e78226a1eab4e95cd36f25db6cfb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a5ee0617a05240a7df7304b26758cc7"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a6a5ee0617a05240a7df7304b26758cc7">gawDefDlgProc</a> []</td></tr>
<tr class="separator:a6a5ee0617a05240a7df7304b26758cc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2067a75b4d96d5b2a8ea02880e5605d2"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a2067a75b4d96d5b2a8ea02880e5605d2">gawMenuWndProc</a> []</td></tr>
<tr class="separator:a2067a75b4d96d5b2a8ea02880e5605d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a429ad38ba1a192ed825e868767c834b0"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a429ad38ba1a192ed825e868767c834b0">gawDesktopWndProc</a> []</td></tr>
<tr class="separator:a429ad38ba1a192ed825e868767c834b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa137631ab00256e3d1408b092142c1c3"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#aa137631ab00256e3d1408b092142c1c3">gawScrollBarWndProc</a> []</td></tr>
<tr class="separator:aa137631ab00256e3d1408b092142c1c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c26eabdb14f422038ad0908fea3101b"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a2c26eabdb14f422038ad0908fea3101b">gawStaticWndProc</a> []</td></tr>
<tr class="separator:a2c26eabdb14f422038ad0908fea3101b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8be2fab434aca43527f8263c8877587b"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a8be2fab434aca43527f8263c8877587b">gawButtonWndProc</a> []</td></tr>
<tr class="separator:a8be2fab434aca43527f8263c8877587b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc7867889c63012b50c67102486e7530"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#acc7867889c63012b50c67102486e7530">gawListboxWndProc</a> []</td></tr>
<tr class="separator:acc7867889c63012b50c67102486e7530"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46eb15bd807ca2852ec0251d6ebdb83d"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a46eb15bd807ca2852ec0251d6ebdb83d">gawComboWndProc</a> []</td></tr>
<tr class="separator:a46eb15bd807ca2852ec0251d6ebdb83d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae53908e152db7d5eca564effa168be94"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#ae53908e152db7d5eca564effa168be94">gawEditWndProc</a> []</td></tr>
<tr class="separator:ae53908e152db7d5eca564effa168be94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e19b19b2f421c2f425ab3072a15a363"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a2e19b19b2f421c2f425ab3072a15a363">gawDefWindowMsgs</a> []</td></tr>
<tr class="separator:a2e19b19b2f421c2f425ab3072a15a363"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a615163c8cad9a6f26d78e71307c4e4"><td class="memItemLeft" align="right" valign="top">CONST WORD&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03665.html#a7a615163c8cad9a6f26d78e71307c4e4">gawDefWindowSpecMsgs</a> []</td></tr>
<tr class="separator:a7a615163c8cad9a6f26d78e71307c4e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">宏定义说明</h2>
<a id="a918fc1eb1f0165782d6642f0ecea5c90"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a918fc1eb1f0165782d6642f0ecea5c90">&#9670;&nbsp;</a></span>CALC_DELTA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define CALC_DELTA</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">element</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">        (PVOID)((PBYTE)pClientBase +          \</div>
<div class="line">        ((PBYTE)<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.element -         \</div>
<div class="line">        (PBYTE)<a class="code" href="a03257.html#a333e3ab0aeefbd49df4da9480fff5eb9">gpReadOnlySharedSectionBase</a>))</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01488">1488</a> 行定义.</p>

</div>
</div>
<a id="a9119492a4faef6d99a34be5b378d4dd5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9119492a4faef6d99a34be5b378d4dd5">&#9670;&nbsp;</a></span>INITMSGTABLE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define INITMSGTABLE</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">member, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">procname&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">    <a class="code" href="a03665.html#a9ff56fde8aa3ae5a677e3f962782bd74">InitWindowMsgTable</a>(&amp;(<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.member.abMsgs),  \</div>
<div class="line">                       &amp;(<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.member.maxMsgs), \</div>
<div class="line">                       gaw ## procname);</div>
</div><!-- fragment -->
</div>
</div>
<a id="a7d467c1d283fdfa1f2081ba1e0d01b6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d467c1d283fdfa1f2081ba1e0d01b6e">&#9670;&nbsp;</a></span>PAGE_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define PAGE_SIZE&#160;&#160;&#160;0x1000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01258">1258</a> 行定义.</p>

</div>
</div>
<a id="ae16d8ff8c8b1262d8c8a3b9a97bc58e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae16d8ff8c8b1262d8c8a3b9a97bc58e7">&#9670;&nbsp;</a></span>ROUND_UP_TO_PAGES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define ROUND_UP_TO_PAGES</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">SIZE</td><td>)</td>
          <td>&#160;&#160;&#160;(((ULONG)(SIZE) + <a class="el" href="a03665.html#a7d467c1d283fdfa1f2081ba1e0d01b6e">PAGE_SIZE</a> - 1) &amp; ~(<a class="el" href="a03665.html#a7d467c1d283fdfa1f2081ba1e0d01b6e">PAGE_SIZE</a> - 1))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01261">1261</a> 行定义.</p>

</div>
</div>
<a id="aaedc4be2cd4b6dabc14fe7a0e176fed6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaedc4be2cd4b6dabc14fe7a0e176fed6">&#9670;&nbsp;</a></span>USRINIT_ATOMBUCKET_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USRINIT_ATOMBUCKET_SIZE&#160;&#160;&#160;37</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00031">31</a> 行定义.</p>

</div>
</div>
<a id="ac8be4a3d458f25daea3ccbfc5f2e9b97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac8be4a3d458f25daea3ccbfc5f2e9b97">&#9670;&nbsp;</a></span>USRINIT_NOIOSECT_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USRINIT_NOIOSECT_SIZE&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00033">33</a> 行定义.</p>

</div>
</div>
<a id="a491331f7155abd51915fbfc0afedaf2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a491331f7155abd51915fbfc0afedaf2a">&#9670;&nbsp;</a></span>USRINIT_SHAREDSECT_BUFF_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USRINIT_SHAREDSECT_BUFF_SIZE&#160;&#160;&#160;640</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00035">35</a> 行定义.</p>

</div>
</div>
<a id="a30436e4813d55c667d22c3854948748c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a30436e4813d55c667d22c3854948748c">&#9670;&nbsp;</a></span>USRINIT_SHAREDSECT_READ_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USRINIT_SHAREDSECT_READ_SIZE&#160;&#160;&#160;(<a class="el" href="a03665.html#a491331f7155abd51915fbfc0afedaf2a">USRINIT_SHAREDSECT_BUFF_SIZE</a>-33)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00036">36</a> 行定义.</p>

</div>
</div>
<a id="a213c018b74c5c3ab31e7cb4047a0c3f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a213c018b74c5c3ab31e7cb4047a0c3f4">&#9670;&nbsp;</a></span>USRINIT_SHAREDSECT_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USRINIT_SHAREDSECT_SIZE&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00030">30</a> 行定义.</p>

</div>
</div>
<a id="a47b2fe5eca3094683b81fecdc8ba5ac8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47b2fe5eca3094683b81fecdc8ba5ac8">&#9670;&nbsp;</a></span>USRINIT_WINDOWSECT_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USRINIT_WINDOWSECT_SIZE&#160;&#160;&#160;512</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="ae9c37df64c4df224d00922b177e4b014"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9c37df64c4df224d00922b177e4b014">&#9670;&nbsp;</a></span>WRAPPFN</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define WRAPPFN</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">pfn, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><a class="el" href="a00563.html#a7b9b0ae15722c1f5e47208b05166acf3">type</a>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>值:</b><div class="fragment"><div class="line">LONG xxxWrap ## pfn(                                         \</div>
<div class="line">    <a class="code" href="a02581.html">PWND</a>  pwnd,                                              \</div>
<div class="line">    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>  message,                                           \</div>
<div class="line">    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> wParam,                                            \</div>
<div class="line">    LONG  lParam,                                            \</div>
<div class="line">    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xParam)                                            \</div>
<div class="line">{                                                            \</div>
<div class="line">    return xxx ## pfn((<a class="code" href="a00563.html#a7b9b0ae15722c1f5e47208b05166acf3">type</a>)pwnd, message, wParam, lParam);  \</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00607">607</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="ad12513a3ecd55f55e45f728c09cc8852"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad12513a3ecd55f55e45f728c09cc8852">&#9670;&nbsp;</a></span>_GetTextMetricsW()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _GetTextMetricsW </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hdc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPTEXTMETRICW&#160;</td>
          <td class="paramname"><em>ptm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01223">1223</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01226"></a><span class="lineno"> 1226</span>&#160;{</div>
<div class="line"><a name="l01227"></a><span class="lineno"> 1227</span>&#160;    TMW_INTERNAL tmi;</div>
<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span>&#160;    BOOL         fret;</div>
<div class="line"><a name="l01229"></a><span class="lineno"> 1229</span>&#160; </div>
<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span>&#160;    fret = GreGetTextMetricsW(hdc, &amp;tmi);</div>
<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span>&#160; </div>
<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span>&#160;    *ptm = tmi.tmw;</div>
<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span>&#160; </div>
<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span>&#160;    <span class="keywordflow">return</span> fret;</div>
<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01633">GetCharDimensions()</a> , 以及 <a class="el" href="a00614_source.html#l00544">xxxDrawCaptionTemp()</a>.</p>

</div>
</div>
<a id="af57d5de27a6e10fb74f08b9bc0080c67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af57d5de27a6e10fb74f08b9bc0080c67">&#9670;&nbsp;</a></span>_TextOutW()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL _TextOutW </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hdc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPCWSTR&#160;</td>
          <td class="paramname"><em>lp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>cc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01237">1237</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01243"></a><span class="lineno"> 1243</span>&#160;{</div>
<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span>&#160;    <span class="keywordflow">return</span> GreExtTextOutW(hdc, x, y, 0, NULL, (LPWSTR)lp, cc, NULL);</div>
<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span>&#160;}</div>
</div><!-- fragment -->
</div>
</div>
<a id="a6623223c60ab90fdf12564f9f8e23bd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6623223c60ab90fdf12564f9f8e23bd4">&#9670;&nbsp;</a></span>_UserGetGlobalAtomTable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS _UserGetGlobalAtomTable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#abce9368ed5b93dc4c0e3e9cc7c99157b">PETHREAD</a>&#160;</td>
          <td class="paramname"><em>Thread</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWINSTA&#160;</td>
          <td class="paramname"><em>hwinsta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PVOID *&#160;</td>
          <td class="paramname"><em>ppGlobalAtomTable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00920_source.html">winsta.c</a> 第 <a class="el" href="a00920_source.html#l01093">1093</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01097"></a><span class="lineno"> 1097</span>&#160;{</div>
<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span>&#160;    <a class="code" href="a02809.html">PWINDOWSTATION</a> pwinsta;</div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;    PVOID GlobalAtomTable;</div>
<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;    NTSTATUS Status;</div>
<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span>&#160; </div>
<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span>&#160;    GlobalAtomTable = NULL;</div>
<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span>&#160;    <span class="keywordflow">if</span> (hwinsta == NULL) {</div>
<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span>&#160;        hwinsta = PsGetCurrentProcess()-&gt;Win32WindowStation;</div>
<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span>&#160;    }</div>
<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span>&#160;    pwinsta = NULL;</div>
<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span>&#160;    Status = <a class="code" href="a00920.html#a71df3543eaf0197b0e7f280be312c854">ReferenceWindowStation</a>(Thread, hwinsta,</div>
<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span>&#160;            WINSTA_ACCESSGLOBALATOMS, &amp;pwinsta, TRUE);</div>
<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span>&#160;    <span class="keywordflow">if</span> (NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span>&#160;        <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span>&#160;            GlobalAtomTable = pwinsta-&gt;<a class="code" href="a02809.html#a5166c7e2801426372e7bcc24c1df7007">pGlobalAtomTable</a>;</div>
<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;            *ppGlobalAtomTable = pwinsta-&gt;<a class="code" href="a02809.html#a5166c7e2801426372e7bcc24c1df7007">pGlobalAtomTable</a>;</div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;        } except (EXCEPTION_EXECUTE_HANDLER) {</div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;            Status = GetExceptionCode();</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;        }</div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;    }</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160; </div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;<span class="preprocessor">#if DBG</span></div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status) || GlobalAtomTable == NULL) {</div>
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;        <a class="code" href="a00371.html#af713eb6f9b50ac607c1fed71a5f678f8">RIPMSG3</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>,</div>
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;                <span class="stringliteral">&quot;_UserGetGlobalAtomTable: NULL Atom Table (hwinsta=0x%X, pwinsta=0x%X, Status=0x%08X)&quot;</span>,</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;                 hwinsta,</div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;                 pwinsta,</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;                 Status);</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;    }</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160; </div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;    <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00899_source.html#l01780">tagWINDOWSTATION::pGlobalAtomTable</a>, <a class="el" href="a00920_source.html#l00999">ReferenceWindowStation()</a>, <a class="el" href="a00371_source.html#l00028">RIP_ERROR</a> , 以及 <a class="el" href="a00371_source.html#l00134">RIPMSG3</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l02334">UserGlobalAtomTableCallout()</a>.</p>

</div>
</div>
<a id="a8615f6d42adb92cbe0073345db3e2939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8615f6d42adb92cbe0073345db3e2939">&#9670;&nbsp;</a></span>_UserSetGlobalAtomTable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS _UserSetGlobalAtomTable </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#abce9368ed5b93dc4c0e3e9cc7c99157b">PETHREAD</a>&#160;</td>
          <td class="paramname"><em>Thread</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">HWINSTA&#160;</td>
          <td class="paramname"><em>hwinsta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PVOID&#160;</td>
          <td class="paramname"><em>pGlobalAtomTable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae7bfbf52ae1db2765aeb068d42918ef3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7bfbf52ae1db2765aeb068d42918ef3">&#9670;&nbsp;</a></span>GetCharDimensions()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int GetCharDimensions </td>
          <td>(</td>
          <td class="paramtype">HDC&#160;</td>
          <td class="paramname"><em>hdc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">TEXTMETRIC *&#160;</td>
          <td class="paramname"><em>lptm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPINT&#160;</td>
          <td class="paramname"><em>lpcy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01633">1633</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01637"></a><span class="lineno"> 1637</span>&#160;{</div>
<div class="line"><a name="l01638"></a><span class="lineno"> 1638</span>&#160;    TEXTMETRIC tm;</div>
<div class="line"><a name="l01639"></a><span class="lineno"> 1639</span>&#160; </div>
<div class="line"><a name="l01640"></a><span class="lineno"> 1640</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01641"></a><span class="lineno"> 1641</span>&#160;<span class="comment">     * Didn&#39;t find it in cache, store the font metrics info.</span></div>
<div class="line"><a name="l01642"></a><span class="lineno"> 1642</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01643"></a><span class="lineno"> 1643</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a03665.html#ad12513a3ecd55f55e45f728c09cc8852">_GetTextMetricsW</a>(hdc, &amp;tm)) {</div>
<div class="line"><a name="l01644"></a><span class="lineno"> 1644</span>&#160;        <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;GetCharDimensions: _GetTextMetricsW failed. hdc %#lx&quot;</span>, hdc);</div>
<div class="line"><a name="l01645"></a><span class="lineno"> 1645</span>&#160;        tm = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a4bd85c2f52f502cc32a9bfb9004694ad">tmSysFont</a>; <span class="comment">// damage control</span></div>
<div class="line"><a name="l01646"></a><span class="lineno"> 1646</span>&#160;    }</div>
<div class="line"><a name="l01647"></a><span class="lineno"> 1647</span>&#160;    <span class="keywordflow">if</span> (lptm != NULL)</div>
<div class="line"><a name="l01648"></a><span class="lineno"> 1648</span>&#160;        *lptm = tm;</div>
<div class="line"><a name="l01649"></a><span class="lineno"> 1649</span>&#160;    <span class="keywordflow">if</span> (lpcy != NULL)</div>
<div class="line"><a name="l01650"></a><span class="lineno"> 1650</span>&#160;        *lpcy = tm.tmHeight;</div>
<div class="line"><a name="l01651"></a><span class="lineno"> 1651</span>&#160; </div>
<div class="line"><a name="l01652"></a><span class="lineno"> 1652</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01653"></a><span class="lineno"> 1653</span>&#160;<span class="comment">     * If variable_width font</span></div>
<div class="line"><a name="l01654"></a><span class="lineno"> 1654</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01655"></a><span class="lineno"> 1655</span>&#160;    <span class="keywordflow">if</span> (tm.tmPitchAndFamily &amp; TMPF_FIXED_PITCH) {</div>
<div class="line"><a name="l01656"></a><span class="lineno"> 1656</span>&#160;        SIZE size;</div>
<div class="line"><a name="l01657"></a><span class="lineno"> 1657</span>&#160;        <span class="keyword">static</span> CONST WCHAR wszAvgChars[] =</div>
<div class="line"><a name="l01658"></a><span class="lineno"> 1658</span>&#160;                L<span class="stringliteral">&quot;abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;</span>;</div>
<div class="line"><a name="l01659"></a><span class="lineno"> 1659</span>&#160; </div>
<div class="line"><a name="l01660"></a><span class="lineno"> 1660</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01661"></a><span class="lineno"> 1661</span>&#160;<span class="comment">         * Change from tmAveCharWidth.  We will calculate a true average</span></div>
<div class="line"><a name="l01662"></a><span class="lineno"> 1662</span>&#160;<span class="comment">         * as opposed to the one returned by tmAveCharWidth.  This works</span></div>
<div class="line"><a name="l01663"></a><span class="lineno"> 1663</span>&#160;<span class="comment">         * better when dealing with proportional spaced fonts.</span></div>
<div class="line"><a name="l01664"></a><span class="lineno"> 1664</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01665"></a><span class="lineno"> 1665</span>&#160;        <span class="keywordflow">if</span> (GreGetTextExtentW(</div>
<div class="line"><a name="l01666"></a><span class="lineno"> 1666</span>&#160;                hdc, (LPWSTR)wszAvgChars,</div>
<div class="line"><a name="l01667"></a><span class="lineno"> 1667</span>&#160;                (<span class="keyword">sizeof</span>(wszAvgChars) / <span class="keyword">sizeof</span>(WCHAR)) - 1,</div>
<div class="line"><a name="l01668"></a><span class="lineno"> 1668</span>&#160;                &amp;size, GGTE_WIN3_EXTENT)) {</div>
<div class="line"><a name="l01669"></a><span class="lineno"> 1669</span>&#160; </div>
<div class="line"><a name="l01670"></a><span class="lineno"> 1670</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>((((size.cx / 26) + 1) / 2) &gt; 0);</div>
<div class="line"><a name="l01671"></a><span class="lineno"> 1671</span>&#160;            <span class="keywordflow">return</span> ((size.cx / 26) + 1) / 2;    <span class="comment">// round up</span></div>
<div class="line"><a name="l01672"></a><span class="lineno"> 1672</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01673"></a><span class="lineno"> 1673</span>&#160;            <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;GetCharDimensions: GreGetTextExtentW failed. hdc %#lx&quot;</span>, hdc);</div>
<div class="line"><a name="l01674"></a><span class="lineno"> 1674</span>&#160;        }</div>
<div class="line"><a name="l01675"></a><span class="lineno"> 1675</span>&#160;    }</div>
<div class="line"><a name="l01676"></a><span class="lineno"> 1676</span>&#160; </div>
<div class="line"><a name="l01677"></a><span class="lineno"> 1677</span>&#160;   <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(tm.tmAveCharWidth &gt; 0);</div>
<div class="line"><a name="l01678"></a><span class="lineno"> 1678</span>&#160;   <span class="keywordflow">return</span> tm.tmAveCharWidth;</div>
<div class="line"><a name="l01679"></a><span class="lineno"> 1679</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03665_source.html#l01223">_GetTextMetricsW()</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00371_source.html#l00028">RIP_ERROR</a>, <a class="el" href="a00371_source.html#l00132">RIPMSG1</a>, <a class="el" href="a00365_source.html#l01017">tagSERVERINFO::tmSysFont</a> , 以及 <a class="el" href="a00950_source.html#l00117">UserAssert</a>.</p>

</div>
</div>
<a id="a6ee6de487f7b9dc690a7ed4ba7f4d72b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ee6de487f7b9dc690a7ed4ba7f4d72b">&#9670;&nbsp;</a></span>InitCreateObjectDirectory()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL InitCreateObjectDirectory </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01360">1360</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01361"></a><span class="lineno"> 1361</span>&#160;{</div>
<div class="line"><a name="l01362"></a><span class="lineno"> 1362</span>&#160;    HANDLE            hDir;</div>
<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span>&#160;    NTSTATUS          Status;</div>
<div class="line"><a name="l01364"></a><span class="lineno"> 1364</span>&#160;    OBJECT_ATTRIBUTES ObjectAttributes;</div>
<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span>&#160;    UNICODE_STRING    UnicodeString;</div>
<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span>&#160; </div>
<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Create User Object-Directory\n&quot;</span>));</div>
<div class="line"><a name="l01368"></a><span class="lineno"> 1368</span>&#160; </div>
<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span>&#160;    RtlInitUnicodeString(&amp;UnicodeString, <a class="code" href="a03257.html#a6c55afa9eda9cf02cafb51a7bf325391">szWindowStationDirectory</a>);</div>
<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span>&#160; </div>
<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span>&#160;    InitializeObjectAttributes(&amp;ObjectAttributes,</div>
<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span>&#160;                               &amp;UnicodeString,</div>
<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span>&#160;                               OBJ_CASE_INSENSITIVE | OBJ_PERMANENT,</div>
<div class="line"><a name="l01374"></a><span class="lineno"> 1374</span>&#160;                               NULL,</div>
<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span>&#160;                               <a class="code" href="a03236.html#ad04da95adc05d69c32d9d6b702c89489">gpsdInitWinSta</a>);</div>
<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span>&#160; </div>
<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span>&#160;    Status = ZwCreateDirectoryObject(&amp;hDir,</div>
<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span>&#160;                                     DIRECTORY_CREATE_OBJECT,</div>
<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span>&#160;                                     &amp;ObjectAttributes);</div>
<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span>&#160; </div>
<div class="line"><a name="l01381"></a><span class="lineno"> 1381</span>&#160;    UserFreePool(<a class="code" href="a03236.html#ad04da95adc05d69c32d9d6b702c89489">gpsdInitWinSta</a>);</div>
<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span>&#160;    ZwClose(hDir);</div>
<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span>&#160; </div>
<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span>&#160;    <a class="code" href="a03236.html#ad04da95adc05d69c32d9d6b702c89489">gpsdInitWinSta</a> = NULL;</div>
<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span>&#160; </div>
<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>&#160;        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(NT_SUCCESS(Status));</div>
<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>&#160; </div>
<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span>&#160;    }</div>
<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>&#160; </div>
<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00839_source.html#l00020">gpsdInitWinSta</a>, <a class="el" href="a03257_source.html#l00259">szWindowStationDirectory</a> , 以及 <a class="el" href="a00950_source.html#l00117">UserAssert</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a431e3b2937e2b1f58e5b374914c279b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a431e3b2937e2b1f58e5b374914c279b7">&#9670;&nbsp;</a></span>InitCreateSharedSection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS InitCreateSharedSection </td>
          <td>(</td>
          <td class="paramtype">ULONG&#160;</td>
          <td class="paramname"><em>ulHeapSize</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01264">1264</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01266"></a><span class="lineno"> 1266</span>&#160;{</div>
<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span>&#160;    ULONG         ulHandleTableSize;</div>
<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span>&#160;    NTSTATUS      Status;</div>
<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span>&#160;    LARGE_INTEGER SectionSize;</div>
<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span>&#160;    ULONG         ViewSize;</div>
<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span>&#160; </div>
<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Create Shared Memory Section\n&quot;</span>));</div>
<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span>&#160; </div>
<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(<a class="code" href="a00680.html#aa29eee5c4d269ff2d6fe0a66b9de9041">ghReadOnlySharedSection</a> == NULL);</div>
<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span>&#160; </div>
<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span>&#160;    ulHeapSize        = <a class="code" href="a03665.html#ae16d8ff8c8b1262d8c8a3b9a97bc58e7">ROUND_UP_TO_PAGES</a>(ulHeapSize * 1024);</div>
<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span>&#160;    ulHandleTableSize = <a class="code" href="a03665.html#ae16d8ff8c8b1262d8c8a3b9a97bc58e7">ROUND_UP_TO_PAGES</a>(0x10000 * <span class="keyword">sizeof</span>(<a class="code" href="a02553.html">HANDLEENTRY</a>));</div>
<div class="line"><a name="l01278"></a><span class="lineno"> 1278</span>&#160; </div>
<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Share: TableSize = %X; HeapSize = %X\n&quot;</span>,</div>
<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span>&#160;            ulHandleTableSize, ulHeapSize));</div>
<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span>&#160; </div>
<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span>&#160;    SectionSize.LowPart  = ulHeapSize + ulHandleTableSize;</div>
<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span>&#160;    SectionSize.HighPart = 0;</div>
<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span>&#160; </div>
<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span>&#160;    Status = MmCreateSection(&amp;<a class="code" href="a00680.html#aa29eee5c4d269ff2d6fe0a66b9de9041">ghReadOnlySharedSection</a>,</div>
<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span>&#160;                             SECTION_ALL_ACCESS,</div>
<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span>&#160;                             (POBJECT_ATTRIBUTES)NULL,</div>
<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span>&#160;                             &amp;SectionSize,</div>
<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span>&#160;                             PAGE_EXECUTE_READWRITE,</div>
<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span>&#160;                             SEC_RESERVE,</div>
<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span>&#160;                             (HANDLE)NULL,</div>
<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span>&#160;                             NULL);</div>
<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span>&#160; </div>
<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span>&#160;    }</div>
<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span>&#160; </div>
<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span>&#160;    ViewSize = 0;</div>
<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span>&#160;    <a class="code" href="a03257.html#a333e3ab0aeefbd49df4da9480fff5eb9">gpReadOnlySharedSectionBase</a> = NULL;</div>
<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span>&#160; </div>
<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span>&#160;    Status = MmMapViewInSystemSpace(<a class="code" href="a00680.html#aa29eee5c4d269ff2d6fe0a66b9de9041">ghReadOnlySharedSection</a>,</div>
<div class="line"><a name="l01302"></a><span class="lineno"> 1302</span>&#160;                                    &amp;<a class="code" href="a03257.html#a333e3ab0aeefbd49df4da9480fff5eb9">gpReadOnlySharedSectionBase</a>,</div>
<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span>&#160;                                    &amp;ViewSize);</div>
<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span>&#160; </div>
<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span>&#160;        ObDereferenceObject(<a class="code" href="a00680.html#aa29eee5c4d269ff2d6fe0a66b9de9041">ghReadOnlySharedSection</a>);</div>
<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span>&#160;    }</div>
<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span>&#160; </div>
<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span>&#160;    <a class="code" href="a03257.html#a0d0e16dfc8a9c0805c94a8c26d21a163">ghheapSharedRO</a> = (PBYTE)<a class="code" href="a03257.html#a333e3ab0aeefbd49df4da9480fff5eb9">gpReadOnlySharedSectionBase</a> + ulHandleTableSize;</div>
<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span>&#160; </div>
<div class="line"><a name="l01312"></a><span class="lineno"> 1312</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Share: BaseAddr = %X; Heap = %X, ViewSize = %X\n&quot;</span>,</div>
<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span>&#160;            <a class="code" href="a03257.html#a333e3ab0aeefbd49df4da9480fff5eb9">gpReadOnlySharedSectionBase</a>, <a class="code" href="a03257.html#a0d0e16dfc8a9c0805c94a8c26d21a163">ghheapSharedRO</a>, ViewSize));</div>
<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span>&#160; </div>
<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span>&#160;    <span class="keywordflow">return</span> STATUS_SUCCESS;</div>
<div class="line"><a name="l01316"></a><span class="lineno"> 1316</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03257_source.html#l00051">ghheapSharedRO</a>, <a class="el" href="a03257_source.html#l00052">ghReadOnlySharedSection</a>, <a class="el" href="a03257_source.html#l00053">gpReadOnlySharedSectionBase</a>, <a class="el" href="a03665_source.html#l01261">ROUND_UP_TO_PAGES</a> , 以及 <a class="el" href="a00950_source.html#l00117">UserAssert</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a0bfa0036b781d5a5c71384d51272b644"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bfa0036b781d5a5c71384d51272b644">&#9670;&nbsp;</a></span>InitCreateUserCrit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL InitCreateUserCrit </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01326">1326</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01327"></a><span class="lineno"> 1327</span>&#160;{</div>
<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Create User Critical-Sections\n&quot;</span>));</div>
<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span>&#160; </div>
<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span>&#160;<span class="comment">     * Initialize a critical section structure that will be used to protect</span></div>
<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span>&#160;<span class="comment">     * all of the User Server&#39;s critical sections (except a few special</span></div>
<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span>&#160;<span class="comment">     * cases like the RIT -- see below).</span></div>
<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span>&#160;    <a class="code" href="a03257.html#ac6b62aff5aa60b8f170320cd7c3f32d7">gpresUser</a> = ExAllocatePoolWithTag(NonPagedPoolMustSucceed,</div>
<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span>&#160;                                      <span class="keyword">sizeof</span>(ERESOURCE),</div>
<div class="line"><a name="l01337"></a><span class="lineno"> 1337</span>&#160;                                      TAG_SYSTEM);</div>
<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span>&#160; </div>
<div class="line"><a name="l01339"></a><span class="lineno"> 1339</span>&#160;    <a class="code" href="a03257.html#a86eaecd79b2d9484dd0587a07e0f7c91">gpresMouseEventQueue</a> = ExAllocatePoolWithTag(NonPagedPoolMustSucceed,</div>
<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span>&#160;                                                 <span class="keyword">sizeof</span>(ERESOURCE),</div>
<div class="line"><a name="l01341"></a><span class="lineno"> 1341</span>&#160;                                                 TAG_SYSTEM);</div>
<div class="line"><a name="l01342"></a><span class="lineno"> 1342</span>&#160; </div>
<div class="line"><a name="l01343"></a><span class="lineno"> 1343</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a03257.html#ac6b62aff5aa60b8f170320cd7c3f32d7">gpresUser</a> || !<a class="code" href="a03257.html#a86eaecd79b2d9484dd0587a07e0f7c91">gpresMouseEventQueue</a>)</div>
<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span>&#160;        <span class="keywordflow">return</span> FALSE;</div>
<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span>&#160; </div>
<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span>&#160;    ExInitializeResourceLite(<a class="code" href="a03257.html#ac6b62aff5aa60b8f170320cd7c3f32d7">gpresUser</a>);</div>
<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span>&#160;    ExInitializeResourceLite(<a class="code" href="a03257.html#a86eaecd79b2d9484dd0587a07e0f7c91">gpresMouseEventQueue</a>);</div>
<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span>&#160; </div>
<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span>&#160;    <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03257_source.html#l00170">gpresMouseEventQueue</a> , 以及 <a class="el" href="a03257_source.html#l00169">gpresUser</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="ab8e2dcc6ecdd809ace39fb592f62c45a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8e2dcc6ecdd809ace39fb592f62c45a">&#9670;&nbsp;</a></span>InitCreateUserSubsystem()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL InitCreateUserSubsystem </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01403">1403</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>&#160;{</div>
<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>&#160;    LPWSTR         lpszSubSystem;</div>
<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>&#160;    LPWSTR         lpszT;</div>
<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>&#160;    UNICODE_STRING strSize;</div>
<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>&#160;    BOOL           bSuccess = FALSE;</div>
<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>&#160; </div>
<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Create User SubSystem\n&quot;</span>));</div>
<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>&#160; </div>
<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span>&#160;<span class="comment">     * Initialize the subsystem section.  This identifies the default</span></div>
<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>&#160;<span class="comment">     * user-heap size.</span></div>
<div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01416"></a><span class="lineno"> 1416</span>&#160;    lpszSubSystem = UserAllocPoolWithQuota(<a class="code" href="a03665.html#a491331f7155abd51915fbfc0afedaf2a">USRINIT_SHAREDSECT_BUFF_SIZE</a> * <span class="keyword">sizeof</span>(WCHAR),</div>
<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span>&#160;                                           TAG_SYSTEM);</div>
<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>&#160; </div>
<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>&#160;    <span class="keywordflow">if</span> (lpszSubSystem) {</div>
<div class="line"><a name="l01420"></a><span class="lineno"> 1420</span>&#160; </div>
<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00821.html#a035665e7f113b339713a981bfb45afec">FastGetProfileStringW</a>(PMAP_SUBSYSTEMS,</div>
<div class="line"><a name="l01422"></a><span class="lineno"> 1422</span>&#160;                                  L<span class="stringliteral">&quot;Windows&quot;</span>,</div>
<div class="line"><a name="l01423"></a><span class="lineno"> 1423</span>&#160;                                  L<span class="stringliteral">&quot;SharedSection=,3072&quot;</span>,</div>
<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span>&#160;                                  lpszSubSystem,</div>
<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span>&#160;                                  <a class="code" href="a03665.html#a30436e4813d55c667d22c3854948748c">USRINIT_SHAREDSECT_READ_SIZE</a>)) {</div>
<div class="line"><a name="l01426"></a><span class="lineno"> 1426</span>&#160; </div>
<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span>&#160;            bSuccess = TRUE;</div>
<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span>&#160; </div>
<div class="line"><a name="l01429"></a><span class="lineno"> 1429</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l01430"></a><span class="lineno"> 1430</span>&#160;<span class="comment">             * Locate the SharedSection portion of the definition and extract</span></div>
<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span>&#160;<span class="comment">             * the second value.</span></div>
<div class="line"><a name="l01432"></a><span class="lineno"> 1432</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l01433"></a><span class="lineno"> 1433</span>&#160;            <a class="code" href="a03257.html#a117a972d032c15dedc9649d36ac0c02f">gdwDesktopSectionSize</a> = <a class="code" href="a03665.html#a47b2fe5eca3094683b81fecdc8ba5ac8">USRINIT_WINDOWSECT_SIZE</a>;</div>
<div class="line"><a name="l01434"></a><span class="lineno"> 1434</span>&#160;            <a class="code" href="a03257.html#a811a8682bc5b6c2aa7bd95b81770dda6">gdwNOIOSectionSize</a>    = <a class="code" href="a03665.html#ac8be4a3d458f25daea3ccbfc5f2e9b97">USRINIT_NOIOSECT_SIZE</a>;</div>
<div class="line"><a name="l01435"></a><span class="lineno"> 1435</span>&#160; </div>
<div class="line"><a name="l01436"></a><span class="lineno"> 1436</span>&#160;            <span class="keywordflow">if</span> (lpszT = wcsstr(lpszSubSystem, L<span class="stringliteral">&quot;SharedSection&quot;</span>)) {</div>
<div class="line"><a name="l01437"></a><span class="lineno"> 1437</span>&#160; </div>
<div class="line"><a name="l01438"></a><span class="lineno"> 1438</span>&#160;                *(lpszT + 32) = UNICODE_NULL;</div>
<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>&#160; </div>
<div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>&#160;                <span class="keywordflow">if</span> (lpszT = wcschr(lpszT, L<span class="charliteral">&#39;,&#39;</span>)) {</div>
<div class="line"><a name="l01441"></a><span class="lineno"> 1441</span>&#160; </div>
<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span>&#160;                    RtlInitUnicodeString(&amp;strSize, ++lpszT);</div>
<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>&#160;                    RtlUnicodeStringToInteger(&amp;strSize, 0, &amp;<a class="code" href="a03257.html#a117a972d032c15dedc9649d36ac0c02f">gdwDesktopSectionSize</a>);</div>
<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>&#160; </div>
<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>&#160;                    <span class="comment">/*</span></div>
<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>&#160;<span class="comment">                     * Assert this logic doesn&#39;t need to change.</span></div>
<div class="line"><a name="l01447"></a><span class="lineno"> 1447</span>&#160;<span class="comment">                     */</span></div>
<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>&#160;                    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(<a class="code" href="a03257.html#a117a972d032c15dedc9649d36ac0c02f">gdwDesktopSectionSize</a> &gt;= <a class="code" href="a03665.html#a47b2fe5eca3094683b81fecdc8ba5ac8">USRINIT_WINDOWSECT_SIZE</a>);</div>
<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>&#160; </div>
<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>&#160;                    <a class="code" href="a03257.html#a117a972d032c15dedc9649d36ac0c02f">gdwDesktopSectionSize</a> = max(<a class="code" href="a03665.html#a47b2fe5eca3094683b81fecdc8ba5ac8">USRINIT_WINDOWSECT_SIZE</a>, <a class="code" href="a03257.html#a117a972d032c15dedc9649d36ac0c02f">gdwDesktopSectionSize</a>);</div>
<div class="line"><a name="l01451"></a><span class="lineno"> 1451</span>&#160;                    <a class="code" href="a03257.html#a811a8682bc5b6c2aa7bd95b81770dda6">gdwNOIOSectionSize</a>    = <a class="code" href="a03257.html#a117a972d032c15dedc9649d36ac0c02f">gdwDesktopSectionSize</a>;</div>
<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span>&#160; </div>
<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>&#160;                    <span class="comment">/*</span></div>
<div class="line"><a name="l01454"></a><span class="lineno"> 1454</span>&#160;<span class="comment">                     * Now see if the optional non-interactive desktop</span></div>
<div class="line"><a name="l01455"></a><span class="lineno"> 1455</span>&#160;<span class="comment">                     * heap size was specified.</span></div>
<div class="line"><a name="l01456"></a><span class="lineno"> 1456</span>&#160;<span class="comment">                     */</span></div>
<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span>&#160;                    <span class="keywordflow">if</span> (lpszT = wcschr(lpszT, L<span class="charliteral">&#39;,&#39;</span>)) {</div>
<div class="line"><a name="l01458"></a><span class="lineno"> 1458</span>&#160; </div>
<div class="line"><a name="l01459"></a><span class="lineno"> 1459</span>&#160;                        RtlInitUnicodeString(&amp;strSize, ++lpszT);</div>
<div class="line"><a name="l01460"></a><span class="lineno"> 1460</span>&#160;                        RtlUnicodeStringToInteger(&amp;strSize, 0, &amp;<a class="code" href="a03257.html#a811a8682bc5b6c2aa7bd95b81770dda6">gdwNOIOSectionSize</a>);</div>
<div class="line"><a name="l01461"></a><span class="lineno"> 1461</span>&#160; </div>
<div class="line"><a name="l01462"></a><span class="lineno"> 1462</span>&#160;                        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(<a class="code" href="a03257.html#a811a8682bc5b6c2aa7bd95b81770dda6">gdwNOIOSectionSize</a> &gt;= <a class="code" href="a03665.html#ac8be4a3d458f25daea3ccbfc5f2e9b97">USRINIT_NOIOSECT_SIZE</a>);</div>
<div class="line"><a name="l01463"></a><span class="lineno"> 1463</span>&#160;                        <a class="code" href="a03257.html#a811a8682bc5b6c2aa7bd95b81770dda6">gdwNOIOSectionSize</a> = max(<a class="code" href="a03665.html#ac8be4a3d458f25daea3ccbfc5f2e9b97">USRINIT_NOIOSECT_SIZE</a>, <a class="code" href="a03257.html#a811a8682bc5b6c2aa7bd95b81770dda6">gdwNOIOSectionSize</a>);</div>
<div class="line"><a name="l01464"></a><span class="lineno"> 1464</span>&#160;                    }</div>
<div class="line"><a name="l01465"></a><span class="lineno"> 1465</span>&#160;                }</div>
<div class="line"><a name="l01466"></a><span class="lineno"> 1466</span>&#160;            }</div>
<div class="line"><a name="l01467"></a><span class="lineno"> 1467</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01468"></a><span class="lineno"> 1468</span>&#160;            <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>,</div>
<div class="line"><a name="l01469"></a><span class="lineno"> 1469</span>&#160;                    <span class="stringliteral">&quot;UserInit: Windows subsystem definition not found&quot;</span>);</div>
<div class="line"><a name="l01470"></a><span class="lineno"> 1470</span>&#160;        }</div>
<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span>&#160; </div>
<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>&#160;        UserFreePool(lpszSubSystem);</div>
<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>&#160; </div>
<div class="line"><a name="l01474"></a><span class="lineno"> 1474</span>&#160;    }</div>
<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span>&#160; </div>
<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>&#160;    <span class="keywordflow">return</span> bSuccess;</div>
<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00821_source.html#l00444">FastGetProfileStringW()</a>, <a class="el" href="a03257_source.html#l00057">gdwDesktopSectionSize</a>, <a class="el" href="a03257_source.html#l00058">gdwNOIOSectionSize</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>, <a class="el" href="a00950_source.html#l00117">UserAssert</a>, <a class="el" href="a03665_source.html#l00033">USRINIT_NOIOSECT_SIZE</a>, <a class="el" href="a03665_source.html#l00035">USRINIT_SHAREDSECT_BUFF_SIZE</a>, <a class="el" href="a03665_source.html#l00036">USRINIT_SHAREDSECT_READ_SIZE</a> , 以及 <a class="el" href="a03665_source.html#l00032">USRINIT_WINDOWSECT_SIZE</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a349764fdd7b2214824e1a0251ddf44dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a349764fdd7b2214824e1a0251ddf44dd">&#9670;&nbsp;</a></span>InitFunctionTables()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitFunctionTables </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00928">928</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;{</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> i;</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160; </div>
<div class="line"><a name="l00932"></a><span class="lineno">  932</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Initialize Function Tables\n&quot;</span>));</div>
<div class="line"><a name="l00933"></a><span class="lineno">  933</span>&#160; </div>
<div class="line"><a name="l00934"></a><span class="lineno">  934</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00935"></a><span class="lineno">  935</span>&#160;    RtlZeroMemory(&amp;STOCID(FNID_START), <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ac9207b6e64b0cbbefad676f174468448">aStoCidPfn</a>));</div>
<div class="line"><a name="l00936"></a><span class="lineno">  936</span>&#160;    RtlZeroMemory(&amp;FNID(FNID_START), <span class="keyword">sizeof</span>(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ad99a2fe3799dd05f336da62b5fb731ad">mpFnidPfn</a>));</div>
<div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;    TEBOffsetCheck();</div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(<span class="keyword">sizeof</span>(<a class="code" href="a02477.html">CLIENTINFO</a>) &lt;= WIN32_CLIENT_INFO_LENGTH * <span class="keyword">sizeof</span>(ULONG));</div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00940"></a><span class="lineno">  940</span>&#160; </div>
<div class="line"><a name="l00941"></a><span class="lineno">  941</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00942"></a><span class="lineno">  942</span>&#160;<span class="comment">     * This table is used to convert from server procs to client procs.</span></div>
<div class="line"><a name="l00943"></a><span class="lineno">  943</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;    STOCID(FNID_SCROLLBAR)              = (<a class="code" href="a00365.html#aeb45e1c65bc6f45b9c278f43d805a86e">WNDPROC_PWND</a>)<a class="code" href="a00833.html#a092f3cef61734c7894362e00cf462bf1">xxxSBWndProc</a>;</div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;    STOCID(FNID_ICONTITLE)              = <a class="code" href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a>;</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;    STOCID(FNID_MENU)                   = <a class="code" href="a03590.html#abd0a994cec57d6310414c9849f2424a2">xxxMenuWindowProc</a>;</div>
<div class="line"><a name="l00947"></a><span class="lineno">  947</span>&#160;    STOCID(FNID_DESKTOP)                = <a class="code" href="a03665.html#a00c37f6f9665c90db0ccc814ba381a62">xxxDesktopWndProc</a>;</div>
<div class="line"><a name="l00948"></a><span class="lineno">  948</span>&#160;    STOCID(FNID_DEFWINDOWPROC)          = <a class="code" href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a>;</div>
<div class="line"><a name="l00949"></a><span class="lineno">  949</span>&#160; </div>
<div class="line"><a name="l00950"></a><span class="lineno">  950</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;<span class="comment">     * This table is used to determine the number minimum number</span></div>
<div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;<span class="comment">     * of reserved windows words required for the server proc.</span></div>
<div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00954"></a><span class="lineno">  954</span>&#160;    CBFNID(FNID_SCROLLBAR)              = <span class="keyword">sizeof</span>(<a class="code" href="a00365.html#adacd17b3ab4d5a89c032fbd0be8b90bb">SBWND</a>);</div>
<div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;    CBFNID(FNID_ICONTITLE)              = <span class="keyword">sizeof</span>(<a class="code" href="a00365.html#a53c20597d266d359ab770510e8ff6aff">WND</a>);</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;    CBFNID(FNID_MENU)                   = <span class="keyword">sizeof</span>(<a class="code" href="a00899.html#a2f668d8ee2069624ac37586c493362b0">MENUWND</a>);</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160; </div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;<span class="comment">     * Initialize this data structure (api function table).</span></div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;    FNID(FNID_SCROLLBAR)                = xxxWrapSBWndProc;</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;    FNID(FNID_ICONTITLE)                = xxxWrapDefWindowProc;</div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;    FNID(FNID_MENU)                     = xxxWrapMenuWindowProc;</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;    FNID(FNID_DESKTOP)                  = xxxWrapDesktopWndProc;</div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;    FNID(FNID_DEFWINDOWPROC)            = xxxWrapDefWindowProc;</div>
<div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;    FNID(FNID_SENDMESSAGE)              = <a class="code" href="a03665.html#a25f3d85db4c4fb494b12ec71e890df57">xxxWrapSendMessage</a>;</div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;    FNID(FNID_HKINLPCWPEXSTRUCT)        = <a class="code" href="a00863.html#a2b8f41fd3b27d5a6b6aad86068fbabf2">fnHkINLPCWPEXSTRUCT</a>;</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;    FNID(FNID_HKINLPCWPRETEXSTRUCT)     = <a class="code" href="a00863.html#a2fd1a2f544dbdcbc2ba767e1e8c687d8">fnHkINLPCWPRETEXSTRUCT</a>;</div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;    FNID(FNID_CALLNEXTHOOKPROC)         = <a class="code" href="a03665.html#a96dcfc3928d47e43714c9449327c3e2a">xxxWrapCallNextHookEx</a>;</div>
<div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;    FNID(FNID_SENDMESSAGEFF)            = <a class="code" href="a00842.html#a979009868386a45dc6249e9625c5c6db">xxxSendMessageFF</a>;</div>
<div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;    FNID(FNID_SENDMESSAGEEX)            = <a class="code" href="a00842.html#aec00217f2ba38eaaca234a78f94172aa">xxxSendMessageEx</a>;</div>
<div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;    FNID(FNID_CALLWINDOWPROC)           = <a class="code" href="a03665.html#a0c77f1446af6dfc359fe36b30def501f">xxxWrapCallWindowProc</a>;</div>
<div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;    FNID(FNID_SENDMESSAGEBSM)            = <a class="code" href="a00842.html#a5225380d7fdc18b2708bfee0ec46801a">xxxSendMessageBSM</a>;</div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160; </div>
<div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;<span class="comment">     * Initialize all unused entries in the api function table.</span></div>
<div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;    FNID(FNID_BUTTON)                   = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;    FNID(FNID_COMBOBOX)                 = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;    FNID(FNID_COMBOLISTBOX)             = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;    FNID(FNID_DEFFRAMEPROC)             = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;    FNID(FNID_DEFMDICHILDPROC)          = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;    FNID(FNID_DIALOG)                   = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;    FNID(FNID_EDIT)                     = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;    FNID(FNID_LISTBOX)                  = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;    FNID(FNID_MB_DLGPROC)               = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;    FNID(FNID_MDIACTIVATEDLGPROC)       = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;    FNID(FNID_MDICLIENT)                = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;    FNID(FNID_STATIC)                   = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;<span class="preprocessor">#ifdef FE_IME</span></div>
<div class="line"><a name="l00991"></a><span class="lineno">  991</span>&#160;    FNID(FNID_IME)                      = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00992"></a><span class="lineno">  992</span>&#160;<span class="preprocessor">#else</span></div>
<div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;    FNID(FNID_UNUSED)                   = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00996"></a><span class="lineno">  996</span>&#160;<span class="comment">     * Finish initializing the array.</span></div>
<div class="line"><a name="l00997"></a><span class="lineno">  997</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00998"></a><span class="lineno">  998</span>&#160;    <span class="keywordflow">for</span> (i = (FNID_END - FNID_START); i &lt; FNID_ARRAY_SIZE; i++) {</div>
<div class="line"><a name="l00999"></a><span class="lineno">  999</span>&#160;        FNID((i + FNID_START)) = <a class="code" href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a>;</div>
<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span>&#160;    }</div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160; </div>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;    {</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;        PDWORD pdw;</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160; </div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;<span class="comment">         * Make sure that everyone got initialized.</span></div>
<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;        <span class="keywordflow">for</span> (pdw=(PDWORD)&amp;STOCID(FNID_START);</div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;                (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pdw&lt;(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)(&amp;STOCID(FNID_WNDPROCEND)); pdw++) {</div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(*pdw);</div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;        }</div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160; </div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;        <span class="keywordflow">for</span> (pdw=(PDWORD)&amp;FNID(FNID_START);</div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;                (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)pdw&lt;(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)(&amp;FNID(FNID_WNDPROCEND)); pdw++) {</div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;            <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(*pdw);</div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;        }</div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;    }</div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160; </div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l00957">tagSERVERINFO::aStoCidPfn</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00863_source.html#l00417">fnHkINLPCWPEXSTRUCT()</a>, <a class="el" href="a00863_source.html#l00440">fnHkINLPCWPRETEXSTRUCT()</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00365_source.html#l00956">tagSERVERINFO::mpFnidPfn</a>, <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>, <a class="el" href="a00950_source.html#l00117">UserAssert</a>, <a class="el" href="a00671_source.html#l01146">xxxDefWindowProc()</a>, <a class="el" href="a00656_source.html#l00499">xxxDesktopWndProc()</a>, <a class="el" href="a03590_source.html#l02538">xxxMenuWindowProc()</a>, <a class="el" href="a00833_source.html#l02005">xxxSBWndProc()</a>, <a class="el" href="a00842_source.html#l00407">xxxSendMessageBSM()</a>, <a class="el" href="a00842_source.html#l00533">xxxSendMessageEx()</a>, <a class="el" href="a00842_source.html#l00480">xxxSendMessageFF()</a>, <a class="el" href="a03665_source.html#l00657">xxxUnusedFunctionId()</a>, <a class="el" href="a03665_source.html#l00623">xxxWrapCallNextHookEx()</a>, <a class="el" href="a03665_source.html#l00678">xxxWrapCallWindowProc()</a> , 以及 <a class="el" href="a03665_source.html#l00633">xxxWrapSendMessage()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="ae4eaf02d7e71b99ea472ad35fc41d2c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4eaf02d7e71b99ea472ad35fc41d2c5">&#9670;&nbsp;</a></span>InitGlobalRIPFlags()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitGlobalRIPFlags </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01160">1160</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01161"></a><span class="lineno"> 1161</span>&#160;{</div>
<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span>&#160; </div>
<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span>&#160; </div>
<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>  idx;</div>
<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>  nCount;</div>
<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwFlag;</div>
<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span>&#160; </div>
<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span>&#160;    <span class="keyword">static</span> CONST <span class="keyword">struct </span>{</div>
<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span>&#160;        LPWSTR lpszKey;</div>
<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span>&#160;        <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>  dwDef;</div>
<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span>&#160;        <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>  dwFlag;</div>
<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span>&#160;    } aRIPFlags[] = {</div>
<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span>&#160;        {L<span class="stringliteral">&quot;fPromptOnError&quot;</span>  , 1, RIPF_PROMPTONERROR  },</div>
<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span>&#160;        {L<span class="stringliteral">&quot;fPromptOnWarning&quot;</span>, 0, RIPF_PROMPTONWARNING},</div>
<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span>&#160;        {L<span class="stringliteral">&quot;fPromptOnVerbose&quot;</span>, 0, RIPF_PROMPTONVERBOSE},</div>
<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span>&#160;        {L<span class="stringliteral">&quot;fPrintError&quot;</span>     , 1, RIPF_PRINTONERROR   },</div>
<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span>&#160;        {L<span class="stringliteral">&quot;fPrintWarning&quot;</span>   , 1, RIPF_PRINTONWARNING },</div>
<div class="line"><a name="l01179"></a><span class="lineno"> 1179</span>&#160;        {L<span class="stringliteral">&quot;fPrintVerbose&quot;</span>   , 0, RIPF_PRINTONVERBOSE },</div>
<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span>&#160;        {L<span class="stringliteral">&quot;fPrintFileLine&quot;</span>  , 0, RIPF_PRINTFILELINE  },</div>
<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span>&#160;    };</div>
<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span>&#160; </div>
<div class="line"><a name="l01183"></a><span class="lineno"> 1183</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Initialize Global RIP Flags\n&quot;</span>));</div>
<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span>&#160; </div>
<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span>&#160;    nCount = <span class="keyword">sizeof</span>(aRIPFlags) / <span class="keyword">sizeof</span>(aRIPFlags[0]);</div>
<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span>&#160; </div>
<div class="line"><a name="l01187"></a><span class="lineno"> 1187</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span>&#160;<span class="comment">     * Turn off the rip-on-warning bit.  This is necessary to prevent</span></div>
<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span>&#160;<span class="comment">     * the FastGetProfileDwordW() routine from breaking into the</span></div>
<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span>&#160;<span class="comment">     * debugger if an entry can&#39;t be found.  Since we provide default</span></div>
<div class="line"><a name="l01191"></a><span class="lineno"> 1191</span>&#160;<span class="comment">     * values, there&#39;s no sense to break.</span></div>
<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span>&#160;    CLEAR_RIP_FLAG(RIPF_PROMPTONWARNING);</div>
<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span>&#160;    CLEAR_RIP_FLAG(RIPF_PRINTONWARNING);</div>
<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span>&#160; </div>
<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span>&#160;    <span class="keywordflow">for</span> (idx=0; idx &lt; nCount; idx++) {</div>
<div class="line"><a name="l01197"></a><span class="lineno"> 1197</span>&#160; </div>
<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span>&#160;        dwFlag = <a class="code" href="a00821.html#ae4f75b94f0191beb73c4b958f8ca9052">FastGetProfileDwordW</a>(PMAP_WINDOWSM,</div>
<div class="line"><a name="l01199"></a><span class="lineno"> 1199</span>&#160;                                      aRIPFlags[idx].lpszKey,</div>
<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span>&#160;                                      aRIPFlags[idx].dwDef);</div>
<div class="line"><a name="l01201"></a><span class="lineno"> 1201</span>&#160; </div>
<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span>&#160;        <span class="keywordflow">if</span> (dwFlag) {</div>
<div class="line"><a name="l01203"></a><span class="lineno"> 1203</span>&#160;            SET_RIP_FLAG(aRIPFlags[idx].dwFlag);</div>
<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01205"></a><span class="lineno"> 1205</span>&#160;            CLEAR_RIP_FLAG(aRIPFlags[idx].dwFlag);</div>
<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span>&#160;        }</div>
<div class="line"><a name="l01207"></a><span class="lineno"> 1207</span>&#160;    }</div>
<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span>&#160; </div>
<div class="line"><a name="l01209"></a><span class="lineno"> 1209</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span>&#160; </div>
<div class="line"><a name="l01211"></a><span class="lineno"> 1211</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00821_source.html#l00245">FastGetProfileDwordW()</a> , 以及 <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a94d8e171ecf569e641e9c7d938b6d3aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94d8e171ecf569e641e9c7d938b6d3aa">&#9670;&nbsp;</a></span>InitKeyStateLookaside()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS InitKeyStateLookaside </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a2a69383a188c05921aeda5715ddb2336"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a69383a188c05921aeda5715ddb2336">&#9670;&nbsp;</a></span>InitLoadResources()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitLoadResources </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01557">1557</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01558"></a><span class="lineno"> 1558</span>&#160;{</div>
<div class="line"><a name="l01559"></a><span class="lineno"> 1559</span>&#160;    <a class="code" href="a02481.html">DISPLAYRESOURCE</a> dr;</div>
<div class="line"><a name="l01560"></a><span class="lineno"> 1560</span>&#160; </div>
<div class="line"><a name="l01561"></a><span class="lineno"> 1561</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Load Display Resources\n&quot;</span>));</div>
<div class="line"><a name="l01562"></a><span class="lineno"> 1562</span>&#160; </div>
<div class="line"><a name="l01563"></a><span class="lineno"> 1563</span>&#160;    <a class="code" href="a03665.html#a5c2749fb852a211724fa62099076d750">xxxClientLoadDisplayResource</a>(&amp;<a class="code" href="a03257.html#a9744bfca19a1b2f747cb8816a7685cd8">strDisplayDriver</a>, &amp;dr);</div>
<div class="line"><a name="l01564"></a><span class="lineno"> 1564</span>&#160; </div>
<div class="line"><a name="l01565"></a><span class="lineno"> 1565</span>&#160;    <span class="keywordflow">if</span> (dr.<a class="code" href="a02481.html#a54248f81a974dad79027dbaf56e6ce66">xCompressIcon</a> &gt; 10) {</div>
<div class="line"><a name="l01566"></a><span class="lineno"> 1566</span>&#160; </div>
<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span>&#160;<span class="comment">         * If so, the actual dimensions of icons and cursors are</span></div>
<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span>&#160;<span class="comment">         * kept in OEMBIN.</span></div>
<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span>&#160;        SYSMET(CXICON)   = dr.<a class="code" href="a02481.html#a54248f81a974dad79027dbaf56e6ce66">xCompressIcon</a>;</div>
<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span>&#160;        SYSMET(CYICON)   = dr.<a class="code" href="a02481.html#ad01f1992696dc02c180724cc4836b909">yCompressIcon</a>;</div>
<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span>&#160;        SYSMET(CXCURSOR) = dr.<a class="code" href="a02481.html#abc90dffe60e7fab170e81a8af1b6f322">xCompressCursor</a>;</div>
<div class="line"><a name="l01574"></a><span class="lineno"> 1574</span>&#160;        SYSMET(CYCURSOR) = dr.<a class="code" href="a02481.html#adb08fb4f4516bd498d72fbf240eb091d">yCompressCursor</a>;</div>
<div class="line"><a name="l01575"></a><span class="lineno"> 1575</span>&#160; </div>
<div class="line"><a name="l01576"></a><span class="lineno"> 1576</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01577"></a><span class="lineno"> 1577</span>&#160; </div>
<div class="line"><a name="l01578"></a><span class="lineno"> 1578</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l01579"></a><span class="lineno"> 1579</span>&#160;<span class="comment">         * Else, only the ratio of (64/icon dimensions) is kept there.</span></div>
<div class="line"><a name="l01580"></a><span class="lineno"> 1580</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l01581"></a><span class="lineno"> 1581</span>&#160;        SYSMET(CXICON)   = (64 / dr.<a class="code" href="a02481.html#a54248f81a974dad79027dbaf56e6ce66">xCompressIcon</a>);</div>
<div class="line"><a name="l01582"></a><span class="lineno"> 1582</span>&#160;        SYSMET(CYICON)   = (64 / dr.<a class="code" href="a02481.html#ad01f1992696dc02c180724cc4836b909">yCompressIcon</a>);</div>
<div class="line"><a name="l01583"></a><span class="lineno"> 1583</span>&#160;        SYSMET(CXCURSOR) = (32 / dr.<a class="code" href="a02481.html#abc90dffe60e7fab170e81a8af1b6f322">xCompressCursor</a>);</div>
<div class="line"><a name="l01584"></a><span class="lineno"> 1584</span>&#160;        SYSMET(CYCURSOR) = (32 / dr.<a class="code" href="a02481.html#adb08fb4f4516bd498d72fbf240eb091d">yCompressCursor</a>);</div>
<div class="line"><a name="l01585"></a><span class="lineno"> 1585</span>&#160;    }</div>
<div class="line"><a name="l01586"></a><span class="lineno"> 1586</span>&#160; </div>
<div class="line"><a name="l01587"></a><span class="lineno"> 1587</span>&#160;    SYSMET(CXSMICON) = SYSMET(CXICON) / 2;</div>
<div class="line"><a name="l01588"></a><span class="lineno"> 1588</span>&#160;    SYSMET(CYSMICON) = SYSMET(CYICON) / 2;</div>
<div class="line"><a name="l01589"></a><span class="lineno"> 1589</span>&#160; </div>
<div class="line"><a name="l01590"></a><span class="lineno"> 1590</span>&#160;    SYSMET(CYKANJIWINDOW) = dr.<a class="code" href="a02481.html#ab06fe1830622e9e508f2eacddbbee994">yKanji</a>;</div>
<div class="line"><a name="l01591"></a><span class="lineno"> 1591</span>&#160; </div>
<div class="line"><a name="l01592"></a><span class="lineno"> 1592</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01593"></a><span class="lineno"> 1593</span>&#160;<span class="comment">     * Get border thicknesses.</span></div>
<div class="line"><a name="l01594"></a><span class="lineno"> 1594</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01595"></a><span class="lineno"> 1595</span>&#160;    SYSMET(CXBORDER) = dr.<a class="code" href="a02481.html#a617d74a2e5ca8b93cf3efb3eca065311">cxBorder</a>;</div>
<div class="line"><a name="l01596"></a><span class="lineno"> 1596</span>&#160;    SYSMET(CYBORDER) = dr.<a class="code" href="a02481.html#abe5b2d14e9eba82eca377a8084385c5f">cyBorder</a>;</div>
<div class="line"><a name="l01597"></a><span class="lineno"> 1597</span>&#160; </div>
<div class="line"><a name="l01598"></a><span class="lineno"> 1598</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01599"></a><span class="lineno"> 1599</span>&#160;<span class="comment">     * Edge is two borders.</span></div>
<div class="line"><a name="l01600"></a><span class="lineno"> 1600</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01601"></a><span class="lineno"> 1601</span>&#160;    SYSMET(CXEDGE) = 2 * SYSMET(CXBORDER);</div>
<div class="line"><a name="l01602"></a><span class="lineno"> 1602</span>&#160;    SYSMET(CYEDGE) = 2 * SYSMET(CYBORDER);</div>
<div class="line"><a name="l01603"></a><span class="lineno"> 1603</span>&#160; </div>
<div class="line"><a name="l01604"></a><span class="lineno"> 1604</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01605"></a><span class="lineno"> 1605</span>&#160;<span class="comment">     * Fixed frame is outer edge + border.</span></div>
<div class="line"><a name="l01606"></a><span class="lineno"> 1606</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01607"></a><span class="lineno"> 1607</span>&#160;    SYSMET(CXDLGFRAME) = SYSMET(CXEDGE) + SYSMET(CXBORDER);</div>
<div class="line"><a name="l01608"></a><span class="lineno"> 1608</span>&#160;    SYSMET(CYDLGFRAME) = SYSMET(CYEDGE) + SYSMET(CYBORDER);</div>
<div class="line"><a name="l01609"></a><span class="lineno"> 1609</span>&#160; </div>
<div class="line"><a name="l01610"></a><span class="lineno"> 1610</span>&#160;    SYSMET(CXFULLSCREEN) = <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a7ae1e4da76ad52e90f87fe39f43b2c4f">rcPrimaryScreen</a>.right;</div>
<div class="line"><a name="l01611"></a><span class="lineno"> 1611</span>&#160;    SYSMET(CYFULLSCREEN) = <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a7ae1e4da76ad52e90f87fe39f43b2c4f">rcPrimaryScreen</a>.bottom - SYSMET(CYCAPTION);</div>
<div class="line"><a name="l01612"></a><span class="lineno"> 1612</span>&#160; </div>
<div class="line"><a name="l01613"></a><span class="lineno"> 1613</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01614"></a><span class="lineno"> 1614</span>&#160;<span class="comment">     * Set the initial cursor position to the center of the primary screen.</span></div>
<div class="line"><a name="l01615"></a><span class="lineno"> 1615</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01616"></a><span class="lineno"> 1616</span>&#160;    ptCursor.x = <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a7ae1e4da76ad52e90f87fe39f43b2c4f">rcPrimaryScreen</a>.right / 2;</div>
<div class="line"><a name="l01617"></a><span class="lineno"> 1617</span>&#160;    ptCursor.y = <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a7ae1e4da76ad52e90f87fe39f43b2c4f">rcPrimaryScreen</a>.bottom / 2;</div>
<div class="line"><a name="l01618"></a><span class="lineno"> 1618</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l00459">tagDISPLAYRESOURCE::cxBorder</a>, <a class="el" href="a00365_source.html#l00460">tagDISPLAYRESOURCE::cyBorder</a>, <a class="el" href="a03257_source.html#l00125">gpDispInfo</a>, <a class="el" href="a00365_source.html#l01571">tagDISPLAYINFO::rcPrimaryScreen</a>, <a class="el" href="a03257_source.html#l00322">strDisplayDriver</a>, <a class="el" href="a00365_source.html#l00456">tagDISPLAYRESOURCE::xCompressCursor</a>, <a class="el" href="a00365_source.html#l00454">tagDISPLAYRESOURCE::xCompressIcon</a>, <a class="el" href="a03665.html#a5c2749fb852a211724fa62099076d750">xxxClientLoadDisplayResource()</a>, <a class="el" href="a00365_source.html#l00457">tagDISPLAYRESOURCE::yCompressCursor</a>, <a class="el" href="a00365_source.html#l00455">tagDISPLAYRESOURCE::yCompressIcon</a> , 以及 <a class="el" href="a00365_source.html#l00458">tagDISPLAYRESOURCE::yKanji</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a28db47ab974a03492b98573179d3b5e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28db47ab974a03492b98573179d3b5e9">&#9670;&nbsp;</a></span>InitMapSharedSection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS InitMapSharedSection </td>
          <td>(</td>
          <td class="paramtype">PEPROCESS&#160;</td>
          <td class="paramname"><em>Process</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#a6607168cd24200c8c13a1f74220a63c9">PUSERCONNECT</a>&#160;</td>
          <td class="paramname"><em>pUserConnect</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01493">1493</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>&#160;{</div>
<div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>&#160;    NTSTATUS      Status;</div>
<div class="line"><a name="l01498"></a><span class="lineno"> 1498</span>&#160;    ULONG         ViewSize;</div>
<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span>&#160;    LARGE_INTEGER liOffset;</div>
<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>&#160;    <span class="keywordtype">int</span>           i;</div>
<div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>&#160;    PVOID         pClientBase = NULL;</div>
<div class="line"><a name="l01502"></a><span class="lineno"> 1502</span>&#160; </div>
<div class="line"><a name="l01503"></a><span class="lineno"> 1503</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Map Shared Memory Section\n&quot;</span>));</div>
<div class="line"><a name="l01504"></a><span class="lineno"> 1504</span>&#160; </div>
<div class="line"><a name="l01505"></a><span class="lineno"> 1505</span>&#160;    ViewSize = 0;</div>
<div class="line"><a name="l01506"></a><span class="lineno"> 1506</span>&#160;    liOffset.QuadPart = 0;</div>
<div class="line"><a name="l01507"></a><span class="lineno"> 1507</span>&#160; </div>
<div class="line"><a name="l01508"></a><span class="lineno"> 1508</span>&#160;    Status = MmMapViewOfSection(<a class="code" href="a00680.html#aa29eee5c4d269ff2d6fe0a66b9de9041">ghReadOnlySharedSection</a>,</div>
<div class="line"><a name="l01509"></a><span class="lineno"> 1509</span>&#160;                                Process,</div>
<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span>&#160;                                &amp;pClientBase,</div>
<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span>&#160;                                0,</div>
<div class="line"><a name="l01512"></a><span class="lineno"> 1512</span>&#160;                                0,</div>
<div class="line"><a name="l01513"></a><span class="lineno"> 1513</span>&#160;                                &amp;liOffset,</div>
<div class="line"><a name="l01514"></a><span class="lineno"> 1514</span>&#160;                                &amp;ViewSize,</div>
<div class="line"><a name="l01515"></a><span class="lineno"> 1515</span>&#160;                                ViewUnmap,</div>
<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span>&#160;                                SEC_NO_CHANGE,</div>
<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span>&#160;                                PAGE_EXECUTE_READ);</div>
<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span>&#160; </div>
<div class="line"><a name="l01519"></a><span class="lineno"> 1519</span>&#160;    <span class="keywordflow">if</span> (NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l01520"></a><span class="lineno"> 1520</span>&#160; </div>
<div class="line"><a name="l01521"></a><span class="lineno"> 1521</span>&#160;        TRACE_INIT((<span class="stringliteral">&quot;UserInit: Map: Client SharedInfo Base = %x\n&quot;</span>, pClientBase));</div>
<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span>&#160; </div>
<div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>&#160;        pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#a6da4f30e256d1a1a5920b1d0a2ec73c2">psi</a>     = <a class="code" href="a03665.html#a918fc1eb1f0165782d6642f0ecea5c90">CALC_DELTA</a>(psi);</div>
<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span>&#160;        pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#aba571224616f70b9a072015bc9873676">aheList</a> = <a class="code" href="a03665.html#a918fc1eb1f0165782d6642f0ecea5c90">CALC_DELTA</a>(aheList);</div>
<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span>&#160; </div>
<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#af7e102138cc931684101f821b7ef2788">pszDllList</a>)</div>
<div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>&#160;            pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#af7e102138cc931684101f821b7ef2788">pszDllList</a> = <a class="code" href="a03665.html#a918fc1eb1f0165782d6642f0ecea5c90">CALC_DELTA</a>(pszDllList);</div>
<div class="line"><a name="l01528"></a><span class="lineno"> 1528</span>&#160;        <span class="keywordflow">else</span></div>
<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span>&#160;            pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#af7e102138cc931684101f821b7ef2788">pszDllList</a> = NULL;</div>
<div class="line"><a name="l01530"></a><span class="lineno"> 1530</span>&#160; </div>
<div class="line"><a name="l01531"></a><span class="lineno"> 1531</span>&#160;        pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#a47f087b8951b9b7e7ce38300b67c1c6f">DefWindowMsgs</a>.<a class="code" href="a02517.html#a42d641821b5c3c8a4f9dd0328dabfc8a">maxMsgs</a>     = <a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#a47f087b8951b9b7e7ce38300b67c1c6f">DefWindowMsgs</a>.<a class="code" href="a02517.html#a42d641821b5c3c8a4f9dd0328dabfc8a">maxMsgs</a>;</div>
<div class="line"><a name="l01532"></a><span class="lineno"> 1532</span>&#160;        pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#a47f087b8951b9b7e7ce38300b67c1c6f">DefWindowMsgs</a>.<a class="code" href="a02517.html#a2d6495c3cf7fb3fbdd27638ad3de548e">abMsgs</a>      = <a class="code" href="a03665.html#a918fc1eb1f0165782d6642f0ecea5c90">CALC_DELTA</a>(DefWindowMsgs.abMsgs);</div>
<div class="line"><a name="l01533"></a><span class="lineno"> 1533</span>&#160;        pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#a6b55f74fa034e288f0fa05c160738484">DefWindowSpecMsgs</a>.<a class="code" href="a02517.html#a42d641821b5c3c8a4f9dd0328dabfc8a">maxMsgs</a> = <a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#a6b55f74fa034e288f0fa05c160738484">DefWindowSpecMsgs</a>.<a class="code" href="a02517.html#a42d641821b5c3c8a4f9dd0328dabfc8a">maxMsgs</a>;</div>
<div class="line"><a name="l01534"></a><span class="lineno"> 1534</span>&#160;        pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#a6b55f74fa034e288f0fa05c160738484">DefWindowSpecMsgs</a>.<a class="code" href="a02517.html#a2d6495c3cf7fb3fbdd27638ad3de548e">abMsgs</a>  = <a class="code" href="a03665.html#a918fc1eb1f0165782d6642f0ecea5c90">CALC_DELTA</a>(DefWindowSpecMsgs.abMsgs);</div>
<div class="line"><a name="l01535"></a><span class="lineno"> 1535</span>&#160; </div>
<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>&#160;        <span class="keywordflow">for</span> (i = 0; i &lt; (FNID_END - FNID_START + 1); ++i) {</div>
<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>&#160; </div>
<div class="line"><a name="l01538"></a><span class="lineno"> 1538</span>&#160;            pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#a7e26cfe7a314d23f30409cf4dcb86b82">awmControl</a>[i].<a class="code" href="a02517.html#a42d641821b5c3c8a4f9dd0328dabfc8a">maxMsgs</a> = <a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#a7e26cfe7a314d23f30409cf4dcb86b82">awmControl</a>[i].<a class="code" href="a02517.html#a42d641821b5c3c8a4f9dd0328dabfc8a">maxMsgs</a>;</div>
<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span>&#160; </div>
<div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#a7e26cfe7a314d23f30409cf4dcb86b82">awmControl</a>[i].<a class="code" href="a02517.html#a2d6495c3cf7fb3fbdd27638ad3de548e">abMsgs</a>)</div>
<div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>&#160;                pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#a7e26cfe7a314d23f30409cf4dcb86b82">awmControl</a>[i].<a class="code" href="a02517.html#a2d6495c3cf7fb3fbdd27638ad3de548e">abMsgs</a> = <a class="code" href="a03665.html#a918fc1eb1f0165782d6642f0ecea5c90">CALC_DELTA</a>(awmControl[i].abMsgs);</div>
<div class="line"><a name="l01542"></a><span class="lineno"> 1542</span>&#160;            <span class="keywordflow">else</span></div>
<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span>&#160;                pUserConnect-&gt;<a class="code" href="a02525.html#a069f327c7cb8276b76507975cd21158e">siClient</a>.<a class="code" href="a02521.html#a7e26cfe7a314d23f30409cf4dcb86b82">awmControl</a>[i].<a class="code" href="a02517.html#a2d6495c3cf7fb3fbdd27638ad3de548e">abMsgs</a> = NULL;</div>
<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>&#160;        }</div>
<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>&#160;    }</div>
<div class="line"><a name="l01546"></a><span class="lineno"> 1546</span>&#160; </div>
<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span>&#160;    <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l01055">_WNDMSG::abMsgs</a>, <a class="el" href="a00365_source.html#l01060">tagSHAREDINFO::aheList</a>, <a class="el" href="a00365_source.html#l01068">tagSHAREDINFO::awmControl</a>, <a class="el" href="a03665_source.html#l01488">CALC_DELTA</a>, <a class="el" href="a00365_source.html#l01070">tagSHAREDINFO::DefWindowMsgs</a>, <a class="el" href="a00365_source.html#l01071">tagSHAREDINFO::DefWindowSpecMsgs</a>, <a class="el" href="a03257_source.html#l00052">ghReadOnlySharedSection</a>, <a class="el" href="a00020_source.html#l00040">gSharedInfo</a>, <a class="el" href="a00365_source.html#l01054">_WNDMSG::maxMsgs</a>, <a class="el" href="a00365_source.html#l01059">tagSHAREDINFO::psi</a>, <a class="el" href="a00365_source.html#l01066">tagSHAREDINFO::pszDllList</a> , 以及 <a class="el" href="a00365_source.html#l01077">_USERCONNECT::siClient</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l02143">NtUserProcessConnect()</a>.</p>

</div>
</div>
<a id="acc38edc4aa6ec3ec11f134d55046fa48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc38edc4aa6ec3ec11f134d55046fa48">&#9670;&nbsp;</a></span>InitMBStringArrays()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitMBStringArrays </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01064">1064</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;{</div>
<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span>&#160;   <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> *plpdw;</div>
<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span>&#160; </div>
<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span>&#160;   <span class="comment">/*</span></div>
<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span>&#160;<span class="comment">    * String IDs</span></div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;<span class="comment">    */</span></div>
<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;   plpdw = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a946d7706e6791cacc45bf9006052c1e0">mpAllMBbtnStringsToSTR</a>;</div>
<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span>&#160;   *plpdw++ = STR_OK;</div>
<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span>&#160;   *plpdw++ = STR_CANCEL;</div>
<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span>&#160;   *plpdw++ = STR_YES;</div>
<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span>&#160;   *plpdw++ = STR_NO;</div>
<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span>&#160;   *plpdw++ = STR_RETRY;</div>
<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span>&#160;   *plpdw++ = STR_ABORT;</div>
<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span>&#160;   *plpdw++ = STR_IGNORE;</div>
<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span>&#160;   *plpdw++ = STR_CLOSE;</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;   *plpdw++ = STR_HELP;</div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160; </div>
<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span>&#160; </div>
<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span>&#160;   <span class="comment">/*</span></div>
<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span>&#160;<span class="comment">    * String Buffer offsets</span></div>
<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span>&#160;<span class="comment">    */</span></div>
<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span>&#160;   plpdw = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aed0baaa7f339f01c2d6c0f907836d75b">AllMBbtnStrings</a>;</div>
<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szOK)     - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szCANCEL) - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szYES)    - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szNO)     - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szRETRY)  - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szABORT)  - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szIGNORE) - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szCLOSE)  - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;   *plpdw++ = FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, szHELP)   - FIELDOFFSET(<a class="code" href="a02513.html">SERVERINFO</a>, AllMBbtnStrings);</div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l01021">tagSERVERINFO::AllMBbtnStrings</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a> , 以及 <a class="el" href="a00365_source.html#l01020">tagSERVERINFO::mpAllMBbtnStringsToSTR</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a0cf0d1860a2b65c5ba7c45968901d151"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0cf0d1860a2b65c5ba7c45968901d151">&#9670;&nbsp;</a></span>InitMessageTables()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitMessageTables </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01032">1032</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;{</div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Initialize Message Tables\n&quot;</span>));</div>
<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160; </div>
<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span>&#160;<span class="preprocessor">#define INITMSGTABLE(member, procname)                \</span></div>
<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span>&#160;<span class="preprocessor">    InitWindowMsgTable(&amp;(gSharedInfo.member.abMsgs),  \</span></div>
<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span>&#160;<span class="preprocessor">                       &amp;(gSharedInfo.member.maxMsgs), \</span></div>
<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span>&#160;<span class="preprocessor">                       gaw ## procname);</span></div>
<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span>&#160; </div>
<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(DefWindowMsgs, DefWindowMsgs);</div>
<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(DefWindowSpecMsgs, DefWindowSpecMsgs);</div>
<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160; </div>
<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_DIALOG       - FNID_START], DefDlgProc);</div>
<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_SCROLLBAR    - FNID_START], ScrollBarWndProc);</div>
<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_MENU         - FNID_START], MenuWndProc);</div>
<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_DESKTOP      - FNID_START], DesktopWndProc);</div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_STATIC       - FNID_START], StaticWndProc);</div>
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_BUTTON       - FNID_START], ButtonWndProc);</div>
<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_LISTBOX      - FNID_START], ListboxWndProc);</div>
<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_COMBOBOX     - FNID_START], ComboWndProc);</div>
<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_COMBOLISTBOX - FNID_START], ListboxWndProc);</div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_EDIT         - FNID_START], <a class="code" href="a00125.html#a631f35fcd8d0c6c359cc08e0301ea7f8">EditWndProc</a>);</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;<span class="preprocessor">#ifdef FE_IME</span></div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;    <a class="code" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>(awmControl[FNID_IME          - FNID_START], ImeWndProc);</div>
<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00125_source.html#l02302">EditWndProc()</a> , 以及 <a class="el" href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="adf8abf36ba0d730b8ee779c51d042b4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf8abf36ba0d730b8ee779c51d042b4c">&#9670;&nbsp;</a></span>InitOLEFormats()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitOLEFormats </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01111">1111</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01112"></a><span class="lineno"> 1112</span>&#160;{</div>
<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> idx;</div>
<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> nCount;</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;    ATOM a1;</div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;    ATOM a2;</div>
<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span>&#160; </div>
<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span>&#160;    <span class="keyword">static</span> LPCWSTR lpszOLEFormats[] = {</div>
<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span>&#160;        L<span class="stringliteral">&quot;OwnerLink&quot;</span>,</div>
<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span>&#160;        L<span class="stringliteral">&quot;Native&quot;</span>,</div>
<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span>&#160;        L<span class="stringliteral">&quot;Binary&quot;</span>,</div>
<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span>&#160;        L<span class="stringliteral">&quot;FileName&quot;</span>,</div>
<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span>&#160;        L<span class="stringliteral">&quot;FileNameW&quot;</span>,</div>
<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span>&#160;        L<span class="stringliteral">&quot;NetworkName&quot;</span>,</div>
<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span>&#160;        L<span class="stringliteral">&quot;DataObject&quot;</span>,</div>
<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span>&#160;        L<span class="stringliteral">&quot;Embedded Object&quot;</span>,</div>
<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span>&#160;        L<span class="stringliteral">&quot;Embed Source&quot;</span>,</div>
<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span>&#160;        L<span class="stringliteral">&quot;Custom Link Source&quot;</span>,</div>
<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span>&#160;        L<span class="stringliteral">&quot;Link Source&quot;</span>,</div>
<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span>&#160;        L<span class="stringliteral">&quot;Object Descriptor&quot;</span>,</div>
<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span>&#160;        L<span class="stringliteral">&quot;Link Source Descriptor&quot;</span>,</div>
<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span>&#160;        L<span class="stringliteral">&quot;OleDraw&quot;</span>,</div>
<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span>&#160;        L<span class="stringliteral">&quot;PBrush&quot;</span>,</div>
<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;        L<span class="stringliteral">&quot;MSDraw&quot;</span>,</div>
<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;        L<span class="stringliteral">&quot;Ole Private Data&quot;</span>,</div>
<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span>&#160;        L<span class="stringliteral">&quot;Screen Picture&quot;</span></div>
<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span>&#160;    };</div>
<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span>&#160; </div>
<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Initialize OLE Formats\n&quot;</span>));</div>
<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span>&#160; </div>
<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span>&#160;    nCount = <span class="keyword">sizeof</span>(lpszOLEFormats) / <span class="keyword">sizeof</span>(lpszOLEFormats[0]);</div>
<div class="line"><a name="l01142"></a><span class="lineno"> 1142</span>&#160; </div>
<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span>&#160;    a1 = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(L<span class="stringliteral">&quot;ObjectLink&quot;</span>, TRUE);</div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160; </div>
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;    <span class="keywordflow">for</span> (idx=0; idx &lt; nCount; idx++) {</div>
<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span>&#160;        a2 = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(lpszOLEFormats[idx], TRUE);</div>
<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span>&#160;        <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(((a1 + 1) == a2) &amp;&amp; (a1 = a2));</div>
<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span>&#160;    }</div>
<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>, <a class="el" href="a00605_source.html#l00033">UserAddAtom()</a> , 以及 <a class="el" href="a00950_source.html#l00117">UserAssert</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="af055163aa935641052a93a51af158b08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af055163aa935641052a93a51af158b08">&#9670;&nbsp;</a></span>InitQEntryLookaside()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS InitQEntryLookaside </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a57696311f50b9ef1cd14b4a13525887b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a57696311f50b9ef1cd14b4a13525887b">&#9670;&nbsp;</a></span>InitSMSLookaside()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS InitSMSLookaside </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="afa55b99d86799bb7ad6e88cadf6eca03"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa55b99d86799bb7ad6e88cadf6eca03">&#9670;&nbsp;</a></span>InitSyncOnlyMessages()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitSyncOnlyMessages </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00730">730</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00731"></a><span class="lineno">  731</span>&#160;{</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;    CONST SHORT *ps;</div>
<div class="line"><a name="l00733"></a><span class="lineno">  733</span>&#160; </div>
<div class="line"><a name="l00734"></a><span class="lineno">  734</span>&#160;    <span class="keyword">static</span> CONST SHORT amsgsSyncOnly[] = {</div>
<div class="line"><a name="l00735"></a><span class="lineno">  735</span>&#160;        WM_CREATE,</div>
<div class="line"><a name="l00736"></a><span class="lineno">  736</span>&#160;        WM_SETTEXT,</div>
<div class="line"><a name="l00737"></a><span class="lineno">  737</span>&#160;        WM_GETTEXT,</div>
<div class="line"><a name="l00738"></a><span class="lineno">  738</span>&#160;        WM_GETTEXTLENGTH,</div>
<div class="line"><a name="l00739"></a><span class="lineno">  739</span>&#160;        WM_ERASEBKGND,</div>
<div class="line"><a name="l00740"></a><span class="lineno">  740</span>&#160;        WM_WININICHANGE,</div>
<div class="line"><a name="l00741"></a><span class="lineno">  741</span>&#160;        WM_DEVMODECHANGE,</div>
<div class="line"><a name="l00742"></a><span class="lineno">  742</span>&#160;        WM_GETMINMAXINFO,</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;        WM_ICONERASEBKGND,</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;        WM_DRAWITEM,</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;        WM_MEASUREITEM,</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;        WM_DELETEITEM,</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;        WM_GETFONT,</div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;        WM_WINHELP,</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;        WM_COMPAREITEM,</div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;        WM_WINDOWPOSCHANGING,</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;        WM_WINDOWPOSCHANGED,</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;        WM_HELP,</div>
<div class="line"><a name="l00753"></a><span class="lineno">  753</span>&#160;        WM_STYLECHANGING,</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;        WM_STYLECHANGED,</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;        WM_NCCREATE,</div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;        WM_NCCALCSIZE,</div>
<div class="line"><a name="l00757"></a><span class="lineno">  757</span>&#160;        WM_NCPAINT,</div>
<div class="line"><a name="l00758"></a><span class="lineno">  758</span>&#160;        WM_KLUDGEMINRECT,</div>
<div class="line"><a name="l00759"></a><span class="lineno">  759</span>&#160;        WM_GETDLGCODE,</div>
<div class="line"><a name="l00760"></a><span class="lineno">  760</span>&#160;        WM_HOOKMSG,</div>
<div class="line"><a name="l00761"></a><span class="lineno">  761</span>&#160; </div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;        EM_GETSEL,</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;        EM_GETRECT,</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;        EM_REPLACESEL,</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;        EM_GETLINE,</div>
<div class="line"><a name="l00766"></a><span class="lineno">  766</span>&#160;        EM_SETTABSTOPS,</div>
<div class="line"><a name="l00767"></a><span class="lineno">  767</span>&#160;        EM_SETRECT,</div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;        EM_SETRECTNP,</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160; </div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;        WM_CTLCOLORMSGBOX,</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;        WM_CTLCOLOREDIT,</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;        WM_CTLCOLORLISTBOX,</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;        WM_CTLCOLORBTN,</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;        WM_CTLCOLORDLG,</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;        WM_CTLCOLORSCROLLBAR,</div>
<div class="line"><a name="l00776"></a><span class="lineno">  776</span>&#160;        WM_CTLCOLORSTATIC,</div>
<div class="line"><a name="l00777"></a><span class="lineno">  777</span>&#160; </div>
<div class="line"><a name="l00778"></a><span class="lineno">  778</span>&#160;        CB_GETEDITSEL,</div>
<div class="line"><a name="l00779"></a><span class="lineno">  779</span>&#160;        CB_DIR,</div>
<div class="line"><a name="l00780"></a><span class="lineno">  780</span>&#160;        CB_ADDSTRING,</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;        CB_GETLBTEXT,</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;        CB_GETLBTEXTLEN,</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;        CB_INSERTSTRING,</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;        CB_FINDSTRING,</div>
<div class="line"><a name="l00785"></a><span class="lineno">  785</span>&#160;        CB_SELECTSTRING,</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;        CB_GETDROPPEDCONTROLRECT,</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;        CB_FINDSTRINGEXACT,</div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160; </div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;        LB_ADDSTRING,</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;        LB_ADDSTRINGUPPER,</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;        LB_ADDSTRINGLOWER,</div>
<div class="line"><a name="l00792"></a><span class="lineno">  792</span>&#160;        LB_INSERTSTRING,</div>
<div class="line"><a name="l00793"></a><span class="lineno">  793</span>&#160;        LB_FINDSTRINGEXACT,</div>
<div class="line"><a name="l00794"></a><span class="lineno">  794</span>&#160;        LB_INSERTSTRINGUPPER,</div>
<div class="line"><a name="l00795"></a><span class="lineno">  795</span>&#160;        LB_INSERTSTRINGLOWER,</div>
<div class="line"><a name="l00796"></a><span class="lineno">  796</span>&#160;        LB_GETTEXT,</div>
<div class="line"><a name="l00797"></a><span class="lineno">  797</span>&#160;        LB_GETTEXTLEN,</div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;        LB_DIR,</div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;        LB_SELECTSTRING,</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;        LB_FINDSTRING,</div>
<div class="line"><a name="l00801"></a><span class="lineno">  801</span>&#160;        LB_GETSELITEMS,</div>
<div class="line"><a name="l00802"></a><span class="lineno">  802</span>&#160;        LB_SETTABSTOPS,</div>
<div class="line"><a name="l00803"></a><span class="lineno">  803</span>&#160;        LB_ADDFILE,</div>
<div class="line"><a name="l00804"></a><span class="lineno">  804</span>&#160;        LB_GETITEMRECT,</div>
<div class="line"><a name="l00805"></a><span class="lineno">  805</span>&#160; </div>
<div class="line"><a name="l00806"></a><span class="lineno">  806</span>&#160;        MN_FINDMENUWINDOWFROMPOINT,</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160; </div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;        WM_PARENTNOTIFY,</div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160; </div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;        WM_NEXTMENU,</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;        WM_SIZING,</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;        WM_MOVING,</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160; </div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;<span class="comment">//      WM_DEVICECHANGE,  -- depends on wParam value.</span></div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160; </div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;        WM_MDICREATE,</div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;        WM_MDIGETACTIVE,</div>
<div class="line"><a name="l00818"></a><span class="lineno">  818</span>&#160;        WM_DROPOBJECT,</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;        WM_QUERYDROPOBJECT,</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;        WM_DRAGLOOP,</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;        WM_DRAGSELECT,</div>
<div class="line"><a name="l00822"></a><span class="lineno">  822</span>&#160;        WM_DRAGMOVE,</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;        WM_PAINTCLIPBOARD,</div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;        WM_SIZECLIPBOARD,</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;        WM_ASKCBFORMATNAME,</div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;        WM_COPYGLOBALDATA,</div>
<div class="line"><a name="l00827"></a><span class="lineno">  827</span>&#160;        WM_COPYDATA,</div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160; </div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;        SBM_GETRANGE,</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;        SBM_SETSCROLLINFO,</div>
<div class="line"><a name="l00831"></a><span class="lineno">  831</span>&#160;        SBM_GETSCROLLINFO,</div>
<div class="line"><a name="l00832"></a><span class="lineno">  832</span>&#160; </div>
<div class="line"><a name="l00833"></a><span class="lineno">  833</span>&#160;<span class="preprocessor">#ifdef FE_IME // amsgsSyncOnly[]</span></div>
<div class="line"><a name="l00834"></a><span class="lineno">  834</span>&#160;        WM_CONVERTREQUESTEX,</div>
<div class="line"><a name="l00835"></a><span class="lineno">  835</span>&#160;        WM_WNT_CONVERTREQUESTEX,</div>
<div class="line"><a name="l00836"></a><span class="lineno">  836</span>&#160;        WM_CONVERTREQUEST,</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;        WM_IME_SETCONTEXT,</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;        WM_IME_CONTROL,</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00840"></a><span class="lineno">  840</span>&#160; </div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;        -1</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;    };</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160; </div>
<div class="line"><a name="l00844"></a><span class="lineno">  844</span>&#160;    TRACE_INIT((<span class="stringliteral">&quot;UserInit: Initialize Sync Only Messages\n&quot;</span>));</div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160; </div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;    <span class="keywordflow">for</span> (ps = amsgsSyncOnly; *ps != -1; ps++)</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;        SETSYNCONLYMESSAGE(*ps);</div>
<div class="line"><a name="l00848"></a><span class="lineno">  848</span>&#160; </div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160; </div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;    {</div>
<div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;    <span class="keywordtype">int</span> i;</div>
<div class="line"><a name="l00853"></a><span class="lineno">  853</span>&#160; </div>
<div class="line"><a name="l00854"></a><span class="lineno">  854</span>&#160; </div>
<div class="line"><a name="l00855"></a><span class="lineno">  855</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l00856"></a><span class="lineno">  856</span>&#160;<span class="comment">     * There are a couple of thunks that just pass parameters.  There are other</span></div>
<div class="line"><a name="l00857"></a><span class="lineno">  857</span>&#160;<span class="comment">     * thunks besides SfnDWORD that do a straight pass through because they</span></div>
<div class="line"><a name="l00858"></a><span class="lineno">  858</span>&#160;<span class="comment">     * do other processing beside the wparam and lparam</span></div>
<div class="line"><a name="l00859"></a><span class="lineno">  859</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l00860"></a><span class="lineno">  860</span>&#160;    <span class="keywordflow">for</span> (i=0; i&lt;WM_USER; i++)</div>
<div class="line"><a name="l00861"></a><span class="lineno">  861</span>&#160;        <span class="keywordflow">if</span> ((<a class="code" href="a03263.html#ab55bcf13c45e6055491901b6617a930c">gapfnScSendMessage</a>[i] != SfnDWORD)</div>
<div class="line"><a name="l00862"></a><span class="lineno">  862</span>&#160;                &amp;&amp; (<a class="code" href="a03263.html#ab55bcf13c45e6055491901b6617a930c">gapfnScSendMessage</a>[i] != SfnINWPARAMCHAR)</div>
<div class="line"><a name="l00863"></a><span class="lineno">  863</span>&#160;#ifdef FE_SB</div>
<div class="line"><a name="l00864"></a><span class="lineno">  864</span>&#160;                &amp;&amp; (<a class="code" href="a03263.html#ab55bcf13c45e6055491901b6617a930c">gapfnScSendMessage</a>[i] != SfnINWPARAMDBCSCHAR)</div>
<div class="line"><a name="l00865"></a><span class="lineno">  865</span>&#160;#endif</div>
<div class="line"><a name="l00866"></a><span class="lineno">  866</span>&#160;                &amp;&amp; (<a class="code" href="a03263.html#ab55bcf13c45e6055491901b6617a930c">gapfnScSendMessage</a>[i] != SfnPAINT)</div>
<div class="line"><a name="l00867"></a><span class="lineno">  867</span>&#160;                &amp;&amp; (<a class="code" href="a03263.html#ab55bcf13c45e6055491901b6617a930c">gapfnScSendMessage</a>[i] != SfnSENTDDEMSG)</div>
<div class="line"><a name="l00868"></a><span class="lineno">  868</span>&#160;                &amp;&amp; (<a class="code" href="a03263.html#ab55bcf13c45e6055491901b6617a930c">gapfnScSendMessage</a>[i] != SfnINDESTROYCLIPBRD)) {</div>
<div class="line"><a name="l00869"></a><span class="lineno">  869</span>&#160;            <span class="keywordflow">if</span> (!(TESTSYNCONLYMESSAGE(i,0x8000)))</div>
<div class="line"><a name="l00870"></a><span class="lineno">  870</span>&#160;                <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;InitSyncOnly: is this message sync-only 0x%lX&quot;</span>, i);</div>
<div class="line"><a name="l00871"></a><span class="lineno">  871</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00872"></a><span class="lineno">  872</span>&#160;            <span class="keywordflow">if</span> (TESTSYNCONLYMESSAGE(i,0))</div>
<div class="line"><a name="l00873"></a><span class="lineno">  873</span>&#160;                <a class="code" href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a>(<a class="code" href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a>, <span class="stringliteral">&quot;InitSyncOnly: is this message not sync-only 0x%lX&quot;</span>, i);</div>
<div class="line"><a name="l00874"></a><span class="lineno">  874</span>&#160;        }</div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160; </div>
<div class="line"><a name="l00876"></a><span class="lineno">  876</span>&#160;    }</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;<span class="preprocessor">#endif // DEBUG</span></div>
<div class="line"><a name="l00878"></a><span class="lineno">  878</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00350_source.html#l00016">gapfnScSendMessage</a>, <a class="el" href="a00371_source.html#l00028">RIP_ERROR</a>, <a class="el" href="a00371_source.html#l00030">RIP_VERBOSE</a> , 以及 <a class="el" href="a00371_source.html#l00132">RIPMSG1</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a9ff56fde8aa3ae5a677e3f962782bd74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ff56fde8aa3ae5a677e3f962782bd74">&#9670;&nbsp;</a></span>InitWindowMsgTable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">VOID InitWindowMsgTable </td>
          <td>(</td>
          <td class="paramtype">PBYTE *&#160;</td>
          <td class="paramname"><em>ppbyte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PUINT&#160;</td>
          <td class="paramname"><em>pmax</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CONST WORD *&#160;</td>
          <td class="paramname"><em>pw</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00896">896</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00900"></a><span class="lineno">  900</span>&#160;{</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> i;</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;    WORD msg;</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;    <a class="code" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a> cbTable;</div>
<div class="line"><a name="l00904"></a><span class="lineno">  904</span>&#160; </div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;    *pmax = 0;</div>
<div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;    <span class="keywordflow">for</span> (i = 0; (msg = pw[i]) != 0; i++) {</div>
<div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;        <span class="keywordflow">if</span> (msg &gt; *pmax)</div>
<div class="line"><a name="l00908"></a><span class="lineno">  908</span>&#160;            *pmax = msg;</div>
<div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;    }</div>
<div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160; </div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;    cbTable = *pmax / 8 + 1;</div>
<div class="line"><a name="l00912"></a><span class="lineno">  912</span>&#160;    *ppbyte = <a class="code" href="a00680.html#a3d55823092d5efdce994868cd5efa7d8">SharedAlloc</a>(cbTable);</div>
<div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;    RtlZeroMemory(*ppbyte, cbTable);</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160; </div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;    <span class="keywordflow">for</span> (i = 0; (msg = pw[i]) != 0; i++)</div>
<div class="line"><a name="l00916"></a><span class="lineno">  916</span>&#160;        (*ppbyte)[msg / 8] |= (BYTE)(1 &lt;&lt; (msg &amp; 7));</div>
<div class="line"><a name="l00917"></a><span class="lineno">  917</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00680_source.html#l00305">SharedAlloc()</a> , 以及 <a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT()</a>.</p>

</div>
</div>
<a id="af5af712a9b1d558a97c4167ffd119afb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5af712a9b1d558a97c4167ffd119afb">&#9670;&nbsp;</a></span>NtUserInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS NtUserInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>dwVersion</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FARPROC&#160;</td>
          <td class="paramname"><em>pfnDebugAttachRoutine</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l02091">2091</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l02094"></a><span class="lineno"> 2094</span>&#160;{</div>
<div class="line"><a name="l02095"></a><span class="lineno"> 2095</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>&#160;<span class="comment">     * Make sure we&#39;re not trying to load this twice.</span></div>
<div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>&#160;    <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a3eabb6cc6d3b24f411b7f94f5d6edac6">gpepCSRSS</a> != NULL) {</div>
<div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>, <span class="stringliteral">&quot;Can&#39;t initialize more than once&quot;</span>);</div>
<div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>&#160;        <span class="keywordflow">return</span> STATUS_UNSUCCESSFUL;</div>
<div class="line"><a name="l02101"></a><span class="lineno"> 2101</span>&#160;    }</div>
<div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>&#160; </div>
<div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>&#160;<span class="comment">     * Check version number</span></div>
<div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>&#160;    <span class="keywordflow">if</span> (dwVersion != USERCURRENTVERSION) {</div>
<div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>&#160;        KeBugCheckEx(WIN32K_INIT_OR_RIT_FAILURE,</div>
<div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>&#160;                     0,</div>
<div class="line"><a name="l02109"></a><span class="lineno"> 2109</span>&#160;                     0,</div>
<div class="line"><a name="l02110"></a><span class="lineno"> 2110</span>&#160;                     dwVersion,</div>
<div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>&#160;                     USERCURRENTVERSION);</div>
<div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>&#160;    }</div>
<div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>&#160; </div>
<div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>&#160;<span class="comment">     * Save debug attach routine.</span></div>
<div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02117"></a><span class="lineno"> 2117</span>&#160;    <a class="code" href="a03665.html#add12a181e4a8f7a43675b95a36cfa85b">gpfnDebugAttachRoutine</a> = pfnDebugAttachRoutine;</div>
<div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>&#160; </div>
<div class="line"><a name="l02119"></a><span class="lineno"> 2119</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02120"></a><span class="lineno"> 2120</span>&#160;<span class="comment">     * Save the system process structure.</span></div>
<div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02122"></a><span class="lineno"> 2122</span>&#160;    <a class="code" href="a03257.html#a3eabb6cc6d3b24f411b7f94f5d6edac6">gpepCSRSS</a> = PsGetCurrentProcess();</div>
<div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>&#160; </div>
<div class="line"><a name="l02124"></a><span class="lineno"> 2124</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>&#160;<span class="comment">     * Allow CSR to read the screen</span></div>
<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>&#160;    ((PW32PROCESS)<a class="code" href="a03257.html#a3eabb6cc6d3b24f411b7f94f5d6edac6">gpepCSRSS</a>-&gt;Win32Process)-&gt;W32PF_Flags |= (W32PF_READSCREENACCESSGRANTED|W32PF_IOWINSTA);</div>
<div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>&#160; </div>
<div class="line"><a name="l02129"></a><span class="lineno"> 2129</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02130"></a><span class="lineno"> 2130</span>&#160;<span class="comment">     * Remember WIN32K.SYS&#39;s hmodule so we can grab resources from it later.</span></div>
<div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>&#160;    <a class="code" href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a> = <a class="code" href="a03266.html#a82304bb979726869e03aca1d1d4180dd">Win32KBaseAddress</a>;</div>
<div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>&#160; </div>
<div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a03665.html#a65e88beffa25de9ddfe02a78c5818d95">UserInitialize</a>();</div>
<div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03257_source.html#l00185">gpepCSRSS</a>, <a class="el" href="a03665_source.html#l00022">gpfnDebugAttachRoutine</a>, <a class="el" href="a03257_source.html#l00324">hModuleWin</a>, <a class="el" href="a00371_source.html#l00028">RIP_ERROR</a>, <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>, <a class="el" href="a03665_source.html#l01691">UserInitialize()</a> , 以及 <a class="el" href="a03266.html#a82304bb979726869e03aca1d1d4180dd">Win32KBaseAddress</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03668_source.html#l00184">UserServerDllInitialization()</a>.</p>

</div>
</div>
<a id="a7b9e49f9c130f7da1780f671a8fe468c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b9e49f9c130f7da1780f671a8fe468c">&#9670;&nbsp;</a></span>NtUserProcessConnect()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS NtUserProcessConnect </td>
          <td>(</td>
          <td class="paramtype">IN HANDLE&#160;</td>
          <td class="paramname"><em>hProcess</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN OUT PVOID&#160;</td>
          <td class="paramname"><em>pConnectInfo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN ULONG&#160;</td>
          <td class="paramname"><em>cbConnectInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l02143">2143</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>&#160;{</div>
<div class="line"><a name="l02148"></a><span class="lineno"> 2148</span>&#160;    PEPROCESS    Process;</div>
<div class="line"><a name="l02149"></a><span class="lineno"> 2149</span>&#160;    <a class="code" href="a02525.html">PUSERCONNECT</a> pucConnect = (<a class="code" href="a00365.html#a6607168cd24200c8c13a1f74220a63c9">PUSERCONNECT</a>)pConnectInfo;</div>
<div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>&#160;    <a class="code" href="a02525.html">USERCONNECT</a>  ucLocal;</div>
<div class="line"><a name="l02151"></a><span class="lineno"> 2151</span>&#160;    NTSTATUS     Status = STATUS_SUCCESS;</div>
<div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>&#160; </div>
<div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>&#160;    <span class="keywordflow">if</span> (!pucConnect || (cbConnectInfo != <span class="keyword">sizeof</span>(<a class="code" href="a02525.html">USERCONNECT</a>))) {</div>
<div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>&#160;        <span class="keywordflow">return</span> STATUS_UNSUCCESSFUL;</div>
<div class="line"><a name="l02155"></a><span class="lineno"> 2155</span>&#160;    }</div>
<div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>&#160; </div>
<div class="line"><a name="l02157"></a><span class="lineno"> 2157</span>&#160;    <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l02158"></a><span class="lineno"> 2158</span>&#160;        ProbeForWrite(pucConnect, cbConnectInfo, <span class="keyword">sizeof</span>(<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>));</div>
<div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>&#160; </div>
<div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>&#160;        ucLocal = *pucConnect;</div>
<div class="line"><a name="l02161"></a><span class="lineno"> 2161</span>&#160;    } except (EXCEPTION_EXECUTE_HANDLER) {</div>
<div class="line"><a name="l02162"></a><span class="lineno"> 2162</span>&#160;        <span class="keywordflow">return</span> GetExceptionCode();</div>
<div class="line"><a name="l02163"></a><span class="lineno"> 2163</span>&#160;    }</div>
<div class="line"><a name="l02164"></a><span class="lineno"> 2164</span>&#160; </div>
<div class="line"><a name="l02165"></a><span class="lineno"> 2165</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02166"></a><span class="lineno"> 2166</span>&#160;<span class="comment">     * Check client/server versions.</span></div>
<div class="line"><a name="l02167"></a><span class="lineno"> 2167</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02168"></a><span class="lineno"> 2168</span>&#160;    <span class="keywordflow">if</span> ((ucLocal.<a class="code" href="a02525.html#a2187cc6f44107654768fe5c6f9c37ac3">ulVersion</a> &gt; USERCURRENTVERSION) ||</div>
<div class="line"><a name="l02169"></a><span class="lineno"> 2169</span>&#160;        (ucLocal.<a class="code" href="a02525.html#a2187cc6f44107654768fe5c6f9c37ac3">ulVersion</a> &lt; USERCURRENTVERSION)) {</div>
<div class="line"><a name="l02170"></a><span class="lineno"> 2170</span>&#160; </div>
<div class="line"><a name="l02171"></a><span class="lineno"> 2171</span>&#160;        <a class="code" href="a00371.html#a906cb0845450a5d5422ce513ecd8a32f">RIPMSG2</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>,</div>
<div class="line"><a name="l02172"></a><span class="lineno"> 2172</span>&#160;            <span class="stringliteral">&quot;Client version %lx &gt; server version %lx\n&quot;</span>,</div>
<div class="line"><a name="l02173"></a><span class="lineno"> 2173</span>&#160;            ucLocal.<a class="code" href="a02525.html#a2187cc6f44107654768fe5c6f9c37ac3">ulVersion</a>, USERCURRENTVERSION);</div>
<div class="line"><a name="l02174"></a><span class="lineno"> 2174</span>&#160;        <span class="keywordflow">return</span> STATUS_UNSUCCESSFUL;</div>
<div class="line"><a name="l02175"></a><span class="lineno"> 2175</span>&#160; </div>
<div class="line"><a name="l02176"></a><span class="lineno"> 2176</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l02177"></a><span class="lineno"> 2177</span>&#160;        ucLocal.<a class="code" href="a02525.html#a07b6dad2c243a41dc418165576b331cf">ulCurrentVersion</a> = USERCURRENTVERSION;</div>
<div class="line"><a name="l02178"></a><span class="lineno"> 2178</span>&#160;    }</div>
<div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>&#160; </div>
<div class="line"><a name="l02180"></a><span class="lineno"> 2180</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02181"></a><span class="lineno"> 2181</span>&#160;<span class="comment">     * Reference the process.</span></div>
<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>&#160;    Status = ObReferenceObjectByHandle(hProcess,</div>
<div class="line"><a name="l02184"></a><span class="lineno"> 2184</span>&#160;                                       PROCESS_VM_OPERATION,</div>
<div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>&#160;                                       NULL,</div>
<div class="line"><a name="l02186"></a><span class="lineno"> 2186</span>&#160;                                       UserMode,</div>
<div class="line"><a name="l02187"></a><span class="lineno"> 2187</span>&#160;                                       &amp;Process,</div>
<div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>&#160;                                       NULL);</div>
<div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status))</div>
<div class="line"><a name="l02190"></a><span class="lineno"> 2190</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l02191"></a><span class="lineno"> 2191</span>&#160; </div>
<div class="line"><a name="l02192"></a><span class="lineno"> 2192</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l02193"></a><span class="lineno"> 2193</span>&#160;<span class="comment">     * Return client&#39;s view of shared data.</span></div>
<div class="line"><a name="l02194"></a><span class="lineno"> 2194</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>&#160;    Status = <a class="code" href="a03665.html#a28db47ab974a03492b98573179d3b5e9">InitMapSharedSection</a>(Process, &amp;ucLocal);</div>
<div class="line"><a name="l02196"></a><span class="lineno"> 2196</span>&#160; </div>
<div class="line"><a name="l02197"></a><span class="lineno"> 2197</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status)                       &amp;&amp;</div>
<div class="line"><a name="l02198"></a><span class="lineno"> 2198</span>&#160;        (Status != STATUS_NO_MEMORY)              &amp;&amp;</div>
<div class="line"><a name="l02199"></a><span class="lineno"> 2199</span>&#160;        (Status != STATUS_PROCESS_IS_TERMINATING) &amp;&amp;</div>
<div class="line"><a name="l02200"></a><span class="lineno"> 2200</span>&#160;        (Status != STATUS_QUOTA_EXCEEDED)         &amp;&amp;</div>
<div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>&#160;        (Status != STATUS_COMMITMENT_LIMIT)) {</div>
<div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>&#160; </div>
<div class="line"><a name="l02203"></a><span class="lineno"> 2203</span>&#160;        <a class="code" href="a00371.html#a906cb0845450a5d5422ce513ecd8a32f">RIPMSG2</a>(<a class="code" href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a>,</div>
<div class="line"><a name="l02204"></a><span class="lineno"> 2204</span>&#160;              <span class="stringliteral">&quot;Failed to map shared data into client %x, status = %x\n&quot;</span>,</div>
<div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>&#160;              GetCurrentProcessId(), Status);</div>
<div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>&#160;    }</div>
<div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>&#160; </div>
<div class="line"><a name="l02208"></a><span class="lineno"> 2208</span>&#160;    ObDereferenceObject(Process);</div>
<div class="line"><a name="l02209"></a><span class="lineno"> 2209</span>&#160; </div>
<div class="line"><a name="l02210"></a><span class="lineno"> 2210</span>&#160;    <span class="keywordflow">if</span> (NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l02211"></a><span class="lineno"> 2211</span>&#160; </div>
<div class="line"><a name="l02212"></a><span class="lineno"> 2212</span>&#160;        <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l02213"></a><span class="lineno"> 2213</span>&#160;             *pucConnect = ucLocal;</div>
<div class="line"><a name="l02214"></a><span class="lineno"> 2214</span>&#160;        } except (EXCEPTION_EXECUTE_HANDLER) {</div>
<div class="line"><a name="l02215"></a><span class="lineno"> 2215</span>&#160;            Status = GetExceptionCode();</div>
<div class="line"><a name="l02216"></a><span class="lineno"> 2216</span>&#160;        }</div>
<div class="line"><a name="l02217"></a><span class="lineno"> 2217</span>&#160;    }</div>
<div class="line"><a name="l02218"></a><span class="lineno"> 2218</span>&#160; </div>
<div class="line"><a name="l02219"></a><span class="lineno"> 2219</span>&#160;    <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a03665_source.html#l01493">InitMapSharedSection()</a>, <a class="el" href="a00371_source.html#l00028">RIP_ERROR</a>, <a class="el" href="a00371_source.html#l00133">RIPMSG2</a>, <a class="el" href="a00365_source.html#l01076">_USERCONNECT::ulCurrentVersion</a> , 以及 <a class="el" href="a00365_source.html#l01075">_USERCONNECT::ulVersion</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00035_source.html#l00749">ClientThreadSetup()</a> , 以及 <a class="el" href="a03668_source.html#l00311">UserClientConnect()</a>.</p>

</div>
</div>
<a id="a23662452c75245b608608c8134b81786"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a23662452c75245b608608c8134b81786">&#9670;&nbsp;</a></span>UserGetDesktopDC()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HDC UserGetDesktopDC </td>
          <td>(</td>
          <td class="paramtype">ULONG&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">BOOL&#160;</td>
          <td class="paramname"><em>bAltType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01943">1943</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01946"></a><span class="lineno"> 1946</span>&#160;{</div>
<div class="line"><a name="l01947"></a><span class="lineno"> 1947</span>&#160;    <a class="code" href="a00365.html#abce9368ed5b93dc4c0e3e9cc7c99157b">PETHREAD</a>    Thread;</div>
<div class="line"><a name="l01948"></a><span class="lineno"> 1948</span>&#160;    HDC         hdc;</div>
<div class="line"><a name="l01949"></a><span class="lineno"> 1949</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> pti = PtiCurrentShared();  <span class="comment">// This is called from outside the crit sec</span></div>
<div class="line"><a name="l01950"></a><span class="lineno"> 1950</span>&#160;    HDEV        hdev = <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81f6c7e5df9c00e3f33e6e1a94ac75fc">hDev</a>;</div>
<div class="line"><a name="l01951"></a><span class="lineno"> 1951</span>&#160; </div>
<div class="line"><a name="l01952"></a><span class="lineno"> 1952</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01953"></a><span class="lineno"> 1953</span>&#160;<span class="comment">     * !!! BUGBUG</span></div>
<div class="line"><a name="l01954"></a><span class="lineno"> 1954</span>&#160;<span class="comment">     * This is a real nasty trick to get both DCs created on a desktop on</span></div>
<div class="line"><a name="l01955"></a><span class="lineno"> 1955</span>&#160;<span class="comment">     * a different device to work (for the video applet) and to be able</span></div>
<div class="line"><a name="l01956"></a><span class="lineno"> 1956</span>&#160;<span class="comment">     * to clip DCs that are actually on the same device ...</span></div>
<div class="line"><a name="l01957"></a><span class="lineno"> 1957</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01958"></a><span class="lineno"> 1958</span>&#160;    <span class="keywordflow">if</span> (pti &amp;&amp; pti-&gt;<a class="code" href="a02889.html#abb1184e0c5805b5ad89b79dcc2bd17c8">rpdesk</a>)</div>
<div class="line"><a name="l01959"></a><span class="lineno"> 1959</span>&#160;        hdev = pti-&gt;<a class="code" href="a02889.html#abb1184e0c5805b5ad89b79dcc2bd17c8">rpdesk</a>-&gt;<a class="code" href="a02801.html#a7865078d53afb2719414b44d87f75c5d">pDispInfo</a>-&gt;<a class="code" href="a02605.html#a81f6c7e5df9c00e3f33e6e1a94ac75fc">hDev</a>;</div>
<div class="line"><a name="l01960"></a><span class="lineno"> 1960</span>&#160; </div>
<div class="line"><a name="l01961"></a><span class="lineno"> 1961</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01962"></a><span class="lineno"> 1962</span>&#160;<span class="comment">     * We want to turn this call that was originally OpenDC(&quot;Display&quot;, ...)</span></div>
<div class="line"><a name="l01963"></a><span class="lineno"> 1963</span>&#160;<span class="comment">     * into GetDC null call so this DC will be clipped to the current</span></div>
<div class="line"><a name="l01964"></a><span class="lineno"> 1964</span>&#160;<span class="comment">     * desktop or else the DC can write to any desktop.  Only do this</span></div>
<div class="line"><a name="l01965"></a><span class="lineno"> 1965</span>&#160;<span class="comment">     * for client apps; let the server do whatever it wants.</span></div>
<div class="line"><a name="l01966"></a><span class="lineno"> 1966</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01967"></a><span class="lineno"> 1967</span>&#160;    Thread = PsGetCurrentThread();</div>
<div class="line"><a name="l01968"></a><span class="lineno"> 1968</span>&#160;    <span class="keywordflow">if</span> ((<a class="code" href="a00563.html#a7b9b0ae15722c1f5e47208b05166acf3">type</a> != DCTYPE_DIRECT)  ||</div>
<div class="line"><a name="l01969"></a><span class="lineno"> 1969</span>&#160;        (hdev != <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81f6c7e5df9c00e3f33e6e1a94ac75fc">hDev</a>) ||</div>
<div class="line"><a name="l01970"></a><span class="lineno"> 1970</span>&#160;        IS_SYSTEM_THREAD(Thread) ||</div>
<div class="line"><a name="l01971"></a><span class="lineno"> 1971</span>&#160;        (Thread-&gt;ThreadsProcess == <a class="code" href="a03257.html#a3eabb6cc6d3b24f411b7f94f5d6edac6">gpepCSRSS</a>)) {</div>
<div class="line"><a name="l01972"></a><span class="lineno"> 1972</span>&#160; </div>
<div class="line"><a name="l01973"></a><span class="lineno"> 1973</span>&#160;        hdc = GreCreateDisplayDC(hdev, <a class="code" href="a00563.html#a7b9b0ae15722c1f5e47208b05166acf3">type</a>, bAltType);</div>
<div class="line"><a name="l01974"></a><span class="lineno"> 1974</span>&#160; </div>
<div class="line"><a name="l01975"></a><span class="lineno"> 1975</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01976"></a><span class="lineno"> 1976</span>&#160; </div>
<div class="line"><a name="l01977"></a><span class="lineno"> 1977</span>&#160;        <a class="code" href="a02801.html">PDESKTOP</a> pdesk;</div>
<div class="line"><a name="l01978"></a><span class="lineno"> 1978</span>&#160; </div>
<div class="line"><a name="l01979"></a><span class="lineno"> 1979</span>&#160;        <a class="code" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a>();</div>
<div class="line"><a name="l01980"></a><span class="lineno"> 1980</span>&#160; </div>
<div class="line"><a name="l01981"></a><span class="lineno"> 1981</span>&#160;        <span class="keywordflow">if</span> (pdesk = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>()-&gt;rpdesk) {</div>
<div class="line"><a name="l01982"></a><span class="lineno"> 1982</span>&#160; </div>
<div class="line"><a name="l01983"></a><span class="lineno"> 1983</span>&#160;            hdc = <a class="code" href="a00257.html#af4d8743272a8eb22e205078faaed38c5">_GetDCEx</a>(pdesk-&gt;<a class="code" href="a02801.html#a76d4881aa4c15330103e83a80e6b5dc7">pDeskInfo</a>-&gt;<a class="code" href="a02609.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>,</div>
<div class="line"><a name="l01984"></a><span class="lineno"> 1984</span>&#160;                           NULL,</div>
<div class="line"><a name="l01985"></a><span class="lineno"> 1985</span>&#160;                           DCX_WINDOW | DCX_CACHE | DCX_CREATEDC);</div>
<div class="line"><a name="l01986"></a><span class="lineno"> 1986</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l01987"></a><span class="lineno"> 1987</span>&#160;            hdc = NULL;</div>
<div class="line"><a name="l01988"></a><span class="lineno"> 1988</span>&#160;        }</div>
<div class="line"><a name="l01989"></a><span class="lineno"> 1989</span>&#160; </div>
<div class="line"><a name="l01990"></a><span class="lineno"> 1990</span>&#160;        <a class="code" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a>();</div>
<div class="line"><a name="l01991"></a><span class="lineno"> 1991</span>&#160;    }</div>
<div class="line"><a name="l01992"></a><span class="lineno"> 1992</span>&#160; </div>
<div class="line"><a name="l01993"></a><span class="lineno"> 1993</span>&#160;    <span class="keywordflow">return</span> hdc;</div>
<div class="line"><a name="l01994"></a><span class="lineno"> 1994</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00257.html#af4d8743272a8eb22e205078faaed38c5">_GetDCEx()</a>, <a class="el" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit()</a>, <a class="el" href="a03257_source.html#l00125">gpDispInfo</a>, <a class="el" href="a03257_source.html#l00185">gpepCSRSS</a>, <a class="el" href="a00365_source.html#l01576">tagDISPLAYINFO::hDev</a>, <a class="el" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit()</a>, <a class="el" href="a00899_source.html#l01706">tagDESKTOP::pDeskInfo</a>, <a class="el" href="a00899_source.html#l01707">tagDESKTOP::pDispInfo</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00899_source.html#l02288">tagTHREADINFO::rpdesk</a>, <a class="el" href="a00365_source.html#l01603">tagDESKTOPINFO::spwnd</a> , 以及 <a class="el" href="a00563_source.html#l00068">type</a>.</p>

</div>
</div>
<a id="ae855725e01770f0631a1e35da5fd5d64"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae855725e01770f0631a1e35da5fd5d64">&#9670;&nbsp;</a></span>UserGetHDEV()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">HDEV UserGetHDEV </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l02307">2307</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l02308"></a><span class="lineno"> 2308</span>&#160;{</div>
<div class="line"><a name="l02309"></a><span class="lineno"> 2309</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a81f6c7e5df9c00e3f33e6e1a94ac75fc">hDev</a>;</div>
<div class="line"><a name="l02310"></a><span class="lineno"> 2310</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03257_source.html#l00125">gpDispInfo</a> , 以及 <a class="el" href="a00365_source.html#l01576">tagDISPLAYINFO::hDev</a>.</p>

</div>
</div>
<a id="a2c290ef957250277d511805c327d1c9f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c290ef957250277d511805c327d1c9f">&#9670;&nbsp;</a></span>UserGlobalAtomTableCallout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PVOID UserGlobalAtomTableCallout </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l02334">2334</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l02335"></a><span class="lineno"> 2335</span>&#160;{</div>
<div class="line"><a name="l02336"></a><span class="lineno"> 2336</span>&#160;    NTSTATUS Status;</div>
<div class="line"><a name="l02337"></a><span class="lineno"> 2337</span>&#160;    PVOID    GlobalAtomTable;</div>
<div class="line"><a name="l02338"></a><span class="lineno"> 2338</span>&#160; </div>
<div class="line"><a name="l02339"></a><span class="lineno"> 2339</span>&#160;    Status = <a class="code" href="a03665.html#a6623223c60ab90fdf12564f9f8e23bd4">_UserGetGlobalAtomTable</a>(PsGetCurrentThread(),</div>
<div class="line"><a name="l02340"></a><span class="lineno"> 2340</span>&#160;                                     NULL,</div>
<div class="line"><a name="l02341"></a><span class="lineno"> 2341</span>&#160;                                     &amp;GlobalAtomTable);</div>
<div class="line"><a name="l02342"></a><span class="lineno"> 2342</span>&#160; </div>
<div class="line"><a name="l02343"></a><span class="lineno"> 2343</span>&#160;    <span class="keywordflow">if</span> (NT_SUCCESS(Status)) {</div>
<div class="line"><a name="l02344"></a><span class="lineno"> 2344</span>&#160; </div>
<div class="line"><a name="l02345"></a><span class="lineno"> 2345</span>&#160;        <span class="keywordflow">return</span> GlobalAtomTable;</div>
<div class="line"><a name="l02346"></a><span class="lineno"> 2346</span>&#160; </div>
<div class="line"><a name="l02347"></a><span class="lineno"> 2347</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l02348"></a><span class="lineno"> 2348</span>&#160; </div>
<div class="line"><a name="l02349"></a><span class="lineno"> 2349</span>&#160;        <span class="keywordflow">return</span> NULL;</div>
<div class="line"><a name="l02350"></a><span class="lineno"> 2350</span>&#160;    }</div>
<div class="line"><a name="l02351"></a><span class="lineno"> 2351</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00920_source.html#l01093">_UserGetGlobalAtomTable()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00719_source.html#l00050">DriverEntry()</a>.</p>

</div>
</div>
<a id="a65e88beffa25de9ddfe02a78c5818d95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a65e88beffa25de9ddfe02a78c5818d95">&#9670;&nbsp;</a></span>UserInitialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS UserInitialize </td>
          <td>(</td>
          <td class="paramtype">VOID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l01691">1691</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l01692"></a><span class="lineno"> 1692</span>&#160;{</div>
<div class="line"><a name="l01693"></a><span class="lineno"> 1693</span>&#160;    NTSTATUS                 Status;</div>
<div class="line"><a name="l01694"></a><span class="lineno"> 1694</span>&#160;    POBJECT_TYPE_INITIALIZER pTypeInfo;</div>
<div class="line"><a name="l01695"></a><span class="lineno"> 1695</span>&#160; </div>
<div class="line"><a name="l01696"></a><span class="lineno"> 1696</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01697"></a><span class="lineno"> 1697</span>&#160;<span class="comment">     * Allow a trace of all the init stuff going on related to display drivers.</span></div>
<div class="line"><a name="l01698"></a><span class="lineno"> 1698</span>&#160;<span class="comment">     * Usefull to debug boot time problems related to graphics.</span></div>
<div class="line"><a name="l01699"></a><span class="lineno"> 1699</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01700"></a><span class="lineno"> 1700</span>&#160;    <span class="keywordflow">if</span> (*(PULONG)NtGlobalFlag &amp; FLG_SHOW_LDR_SNAPS)</div>
<div class="line"><a name="l01701"></a><span class="lineno"> 1701</span>&#160;        <a class="code" href="a03257.html#adf0068988d4823d1fa1a18bca501899e">TraceDisplayDriverLoad</a> = 1;</div>
<div class="line"><a name="l01702"></a><span class="lineno"> 1702</span>&#160; </div>
<div class="line"><a name="l01703"></a><span class="lineno"> 1703</span>&#160;<span class="preprocessor">#ifdef ANDREVA_DBG</span></div>
<div class="line"><a name="l01704"></a><span class="lineno"> 1704</span>&#160;    <a class="code" href="a03257.html#adf0068988d4823d1fa1a18bca501899e">TraceDisplayDriverLoad</a> = 1;</div>
<div class="line"><a name="l01705"></a><span class="lineno"> 1705</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01706"></a><span class="lineno"> 1706</span>&#160; </div>
<div class="line"><a name="l01707"></a><span class="lineno"> 1707</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01708"></a><span class="lineno"> 1708</span>&#160;<span class="comment">     * Create the shared section and user-crit&#39;s. Enter the</span></div>
<div class="line"><a name="l01709"></a><span class="lineno"> 1709</span>&#160;<span class="comment">     * user-crit if successful, then proceed with the rest</span></div>
<div class="line"><a name="l01710"></a><span class="lineno"> 1710</span>&#160;<span class="comment">     * of the initialization.</span></div>
<div class="line"><a name="l01711"></a><span class="lineno"> 1711</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01712"></a><span class="lineno"> 1712</span>&#160;    Status = <a class="code" href="a03665.html#a431e3b2937e2b1f58e5b374914c279b7">InitCreateSharedSection</a>(<a class="code" href="a03665.html#a213c018b74c5c3ab31e7cb4047a0c3f4">USRINIT_SHAREDSECT_SIZE</a>);</div>
<div class="line"><a name="l01713"></a><span class="lineno"> 1713</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(Status))</div>
<div class="line"><a name="l01714"></a><span class="lineno"> 1714</span>&#160;        <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l01715"></a><span class="lineno"> 1715</span>&#160; </div>
<div class="line"><a name="l01716"></a><span class="lineno"> 1716</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a03665.html#a0bfa0036b781d5a5c71384d51272b644">InitCreateUserCrit</a>())</div>
<div class="line"><a name="l01717"></a><span class="lineno"> 1717</span>&#160;        <span class="keywordflow">return</span> STATUS_NO_MEMORY;</div>
<div class="line"><a name="l01718"></a><span class="lineno"> 1718</span>&#160; </div>
<div class="line"><a name="l01719"></a><span class="lineno"> 1719</span>&#160;    <a class="code" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a>();</div>
<div class="line"><a name="l01720"></a><span class="lineno"> 1720</span>&#160; </div>
<div class="line"><a name="l01721"></a><span class="lineno"> 1721</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01722"></a><span class="lineno"> 1722</span>&#160;<span class="comment">     * Initialize security stuff.</span></div>
<div class="line"><a name="l01723"></a><span class="lineno"> 1723</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01724"></a><span class="lineno"> 1724</span>&#160;    <a class="code" href="a00839.html#ad44fb853080371fbd9ce7e895cb2d46d">InitSecurity</a>();</div>
<div class="line"><a name="l01725"></a><span class="lineno"> 1725</span>&#160; </div>
<div class="line"><a name="l01726"></a><span class="lineno"> 1726</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01727"></a><span class="lineno"> 1727</span>&#160;<span class="comment">     * Fill in windowstation and desktop object types</span></div>
<div class="line"><a name="l01728"></a><span class="lineno"> 1728</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01729"></a><span class="lineno"> 1729</span>&#160;    pTypeInfo = &amp;(*ExWindowStationObjectType)-&gt;TypeInfo;</div>
<div class="line"><a name="l01730"></a><span class="lineno"> 1730</span>&#160;    pTypeInfo-&gt;DefaultNonPagedPoolCharge = <span class="keyword">sizeof</span>(<a class="code" href="a00899.html#ab36e16484726c9db061f667ef68c6662">WINDOWSTATION</a>) + <span class="keyword">sizeof</span>(KEVENT);</div>
<div class="line"><a name="l01731"></a><span class="lineno"> 1731</span>&#160;    pTypeInfo-&gt;DefaultPagedPoolCharge    = 0;</div>
<div class="line"><a name="l01732"></a><span class="lineno"> 1732</span>&#160;    pTypeInfo-&gt;MaintainHandleCount       = TRUE;</div>
<div class="line"><a name="l01733"></a><span class="lineno"> 1733</span>&#160;    pTypeInfo-&gt;CloseProcedure            = <a class="code" href="a00899.html#a4bc3f9c172161d3d0f8ad1868ac6ad85">DestroyWindowStation</a>;</div>
<div class="line"><a name="l01734"></a><span class="lineno"> 1734</span>&#160;    pTypeInfo-&gt;DeleteProcedure           = <a class="code" href="a00899.html#a666116d3947c19e095a0d91378a6c91f">FreeWindowStation</a>;</div>
<div class="line"><a name="l01735"></a><span class="lineno"> 1735</span>&#160;    pTypeInfo-&gt;ParseProcedure            = <a class="code" href="a00899.html#a631c021d41d6cae4a32e2f5a937603ed">ParseWindowStation</a>;</div>
<div class="line"><a name="l01736"></a><span class="lineno"> 1736</span>&#160;    pTypeInfo-&gt;ValidAccessMask           = <a class="code" href="a03266.html#adc61ef551cf8e713e7f0014b5932ffcd">WinStaMapping</a>.GenericAll;</div>
<div class="line"><a name="l01737"></a><span class="lineno"> 1737</span>&#160;    pTypeInfo-&gt;GenericMapping            = <a class="code" href="a03266.html#adc61ef551cf8e713e7f0014b5932ffcd">WinStaMapping</a>;</div>
<div class="line"><a name="l01738"></a><span class="lineno"> 1738</span>&#160; </div>
<div class="line"><a name="l01739"></a><span class="lineno"> 1739</span>&#160;    pTypeInfo = &amp;(*ExDesktopObjectType)-&gt;TypeInfo;</div>
<div class="line"><a name="l01740"></a><span class="lineno"> 1740</span>&#160;    pTypeInfo-&gt;DefaultNonPagedPoolCharge = <span class="keyword">sizeof</span>(<a class="code" href="a00899.html#a2d7abd0a2edcc1aa3601bc9a8b12665d">DESKTOP</a>);</div>
<div class="line"><a name="l01741"></a><span class="lineno"> 1741</span>&#160;    pTypeInfo-&gt;DefaultPagedPoolCharge    = 0;</div>
<div class="line"><a name="l01742"></a><span class="lineno"> 1742</span>&#160;    pTypeInfo-&gt;MaintainHandleCount       = TRUE;</div>
<div class="line"><a name="l01743"></a><span class="lineno"> 1743</span>&#160;    pTypeInfo-&gt;OpenProcedure             = <a class="code" href="a00656.html#ab22bfcb2393ef41f510cfe4b4d917b5a">MapDesktop</a>;</div>
<div class="line"><a name="l01744"></a><span class="lineno"> 1744</span>&#160;    pTypeInfo-&gt;CloseProcedure            = <a class="code" href="a00656.html#a31cbd79538d6aac98c96496289d0e9a2">UnmapDesktop</a>;</div>
<div class="line"><a name="l01745"></a><span class="lineno"> 1745</span>&#160;    pTypeInfo-&gt;DeleteProcedure           = <a class="code" href="a00656.html#a091a64b9cbe82dee258a7b69669478d1">FreeDesktop</a>;</div>
<div class="line"><a name="l01746"></a><span class="lineno"> 1746</span>&#160;    pTypeInfo-&gt;ParseProcedure            = <a class="code" href="a00656.html#a02f3707bdf26cc51a2b852ba3dc46fd1">ParseDesktop</a>;</div>
<div class="line"><a name="l01747"></a><span class="lineno"> 1747</span>&#160;    pTypeInfo-&gt;ValidAccessMask           = <a class="code" href="a03266.html#aa43121e2fd14c10e80b0025f77eb3a00">DesktopMapping</a>.GenericAll;</div>
<div class="line"><a name="l01748"></a><span class="lineno"> 1748</span>&#160;    pTypeInfo-&gt;GenericMapping            = <a class="code" href="a03266.html#aa43121e2fd14c10e80b0025f77eb3a00">DesktopMapping</a>;</div>
<div class="line"><a name="l01749"></a><span class="lineno"> 1749</span>&#160; </div>
<div class="line"><a name="l01750"></a><span class="lineno"> 1750</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01751"></a><span class="lineno"> 1751</span>&#160;<span class="comment">     * Create object directory.</span></div>
<div class="line"><a name="l01752"></a><span class="lineno"> 1752</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01753"></a><span class="lineno"> 1753</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a03665.html#a6ee6de487f7b9dc690a7ed4ba7f4d72b">InitCreateObjectDirectory</a>())</div>
<div class="line"><a name="l01754"></a><span class="lineno"> 1754</span>&#160;        <span class="keywordflow">goto</span> LeaveCritExit;</div>
<div class="line"><a name="l01755"></a><span class="lineno"> 1755</span>&#160; </div>
<div class="line"><a name="l01756"></a><span class="lineno"> 1756</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01757"></a><span class="lineno"> 1757</span>&#160;<span class="comment">     *  Initialize the caption cache.</span></div>
<div class="line"><a name="l01758"></a><span class="lineno"> 1758</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01759"></a><span class="lineno"> 1759</span>&#160;    RtlZeroMemory(&amp;<a class="code" href="a03257.html#a165b1361c67b32fe960fd9658d4c0735">cachedCaptions</a>, <span class="keyword">sizeof</span>(<a class="code" href="a03257.html#a165b1361c67b32fe960fd9658d4c0735">cachedCaptions</a>));</div>
<div class="line"><a name="l01760"></a><span class="lineno"> 1760</span>&#160; </div>
<div class="line"><a name="l01761"></a><span class="lineno"> 1761</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01762"></a><span class="lineno"> 1762</span>&#160;<span class="comment">     * Open the profile for fast mapping, while we</span></div>
<div class="line"><a name="l01763"></a><span class="lineno"> 1763</span>&#160;<span class="comment">     * call routines to read from the registry.</span></div>
<div class="line"><a name="l01764"></a><span class="lineno"> 1764</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01765"></a><span class="lineno"> 1765</span>&#160;    <a class="code" href="a00821.html#a71ab7da1e1b58e117d8fe2bcca8fcdb0">FastOpenProfileUserMapping</a>();</div>
<div class="line"><a name="l01766"></a><span class="lineno"> 1766</span>&#160; </div>
<div class="line"><a name="l01767"></a><span class="lineno"> 1767</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01768"></a><span class="lineno"> 1768</span>&#160;<span class="comment">     * Initialize the lookaside stuff.</span></div>
<div class="line"><a name="l01769"></a><span class="lineno"> 1769</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01770"></a><span class="lineno"> 1770</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(<a class="code" href="a03665.html#af055163aa935641052a93a51af158b08">InitQEntryLookaside</a>()))</div>
<div class="line"><a name="l01771"></a><span class="lineno"> 1771</span>&#160;        <span class="keywordflow">goto</span> LeaveCritExit;</div>
<div class="line"><a name="l01772"></a><span class="lineno"> 1772</span>&#160; </div>
<div class="line"><a name="l01773"></a><span class="lineno"> 1773</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(<a class="code" href="a03665.html#a94d8e171ecf569e641e9c7d938b6d3aa">InitKeyStateLookaside</a>()))</div>
<div class="line"><a name="l01774"></a><span class="lineno"> 1774</span>&#160;        <span class="keywordflow">goto</span> LeaveCritExit;</div>
<div class="line"><a name="l01775"></a><span class="lineno"> 1775</span>&#160; </div>
<div class="line"><a name="l01776"></a><span class="lineno"> 1776</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(<a class="code" href="a03665.html#a57696311f50b9ef1cd14b4a13525887b">InitSMSLookaside</a>()))</div>
<div class="line"><a name="l01777"></a><span class="lineno"> 1777</span>&#160;        <span class="keywordflow">goto</span> LeaveCritExit;</div>
<div class="line"><a name="l01778"></a><span class="lineno"> 1778</span>&#160; </div>
<div class="line"><a name="l01779"></a><span class="lineno"> 1779</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01780"></a><span class="lineno"> 1780</span>&#160;<span class="comment">     * Create the atom table.</span></div>
<div class="line"><a name="l01781"></a><span class="lineno"> 1781</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01782"></a><span class="lineno"> 1782</span>&#160;    <a class="code" href="a00605.html#a81c7d36eed2002f8a36cbed8d4ceffcc">UserRtlCreateAtomTable</a>(<a class="code" href="a03665.html#aaedc4be2cd4b6dabc14fe7a0e176fed6">USRINIT_ATOMBUCKET_SIZE</a>);</div>
<div class="line"><a name="l01783"></a><span class="lineno"> 1783</span>&#160;    <a class="code" href="a03257.html#ad7b3068ea50c4d2757c1b3e12f921b3f">atomUSER32</a> = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a00020.html#adeb42abe763d9eaa7e651e1d8accdb66">szUSER32</a>, TRUE);</div>
<div class="line"><a name="l01784"></a><span class="lineno"> 1784</span>&#160; </div>
<div class="line"><a name="l01785"></a><span class="lineno"> 1785</span>&#160;    <a class="code" href="a03257.html#ab7defab366f7687fa30be2847faa4ad6">gatomFirstPinned</a> = <a class="code" href="a03257.html#ad7b3068ea50c4d2757c1b3e12f921b3f">atomUSER32</a>;</div>
<div class="line"><a name="l01786"></a><span class="lineno"> 1786</span>&#160; </div>
<div class="line"><a name="l01787"></a><span class="lineno"> 1787</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01788"></a><span class="lineno"> 1788</span>&#160;<span class="comment">     * Initialize the user subsystem information.</span></div>
<div class="line"><a name="l01789"></a><span class="lineno"> 1789</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01790"></a><span class="lineno"> 1790</span>&#160;    <span class="keywordflow">if</span> (!<a class="code" href="a03665.html#ab8e2dcc6ecdd809ace39fb592f62c45a">InitCreateUserSubsystem</a>())</div>
<div class="line"><a name="l01791"></a><span class="lineno"> 1791</span>&#160;         <span class="keywordflow">goto</span> LeaveCritExit;</div>
<div class="line"><a name="l01792"></a><span class="lineno"> 1792</span>&#160; </div>
<div class="line"><a name="l01793"></a><span class="lineno"> 1793</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01794"></a><span class="lineno"> 1794</span>&#160;<span class="comment">     * Allocated shared SERVERINFO structure.</span></div>
<div class="line"><a name="l01795"></a><span class="lineno"> 1795</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01796"></a><span class="lineno"> 1796</span>&#160;    <span class="keywordflow">if</span> ((<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a> = (<a class="code" href="a02513.html">PSERVERINFO</a>)<a class="code" href="a00680.html#a3d55823092d5efdce994868cd5efa7d8">SharedAlloc</a>(<span class="keyword">sizeof</span>(<a class="code" href="a02513.html">SERVERINFO</a>))) == NULL)</div>
<div class="line"><a name="l01797"></a><span class="lineno"> 1797</span>&#160;        <span class="keywordflow">goto</span> LeaveCritExit;</div>
<div class="line"><a name="l01798"></a><span class="lineno"> 1798</span>&#160; </div>
<div class="line"><a name="l01799"></a><span class="lineno"> 1799</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01800"></a><span class="lineno"> 1800</span>&#160;<span class="comment">     * Initialize the DISPLAYINFO structure.</span></div>
<div class="line"><a name="l01801"></a><span class="lineno"> 1801</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01802"></a><span class="lineno"> 1802</span>&#160;    <span class="keywordflow">if</span> ((<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a> = <a class="code" href="a00680.html#a3d55823092d5efdce994868cd5efa7d8">SharedAlloc</a>(<span class="keyword">sizeof</span>(<a class="code" href="a02605.html">DISPLAYINFO</a>))) == NULL) {</div>
<div class="line"><a name="l01803"></a><span class="lineno"> 1803</span>&#160;        UserFreePool(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>);</div>
<div class="line"><a name="l01804"></a><span class="lineno"> 1804</span>&#160;        <span class="keywordflow">goto</span> LeaveCritExit;</div>
<div class="line"><a name="l01805"></a><span class="lineno"> 1805</span>&#160;    }</div>
<div class="line"><a name="l01806"></a><span class="lineno"> 1806</span>&#160; </div>
<div class="line"><a name="l01807"></a><span class="lineno"> 1807</span>&#160;    RtlZeroMemory(<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>, <span class="keyword">sizeof</span>(*<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>));</div>
<div class="line"><a name="l01808"></a><span class="lineno"> 1808</span>&#160;    RtlZeroMemory(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>, <span class="keyword">sizeof</span>(*<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>));</div>
<div class="line"><a name="l01809"></a><span class="lineno"> 1809</span>&#160; </div>
<div class="line"><a name="l01810"></a><span class="lineno"> 1810</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01811"></a><span class="lineno"> 1811</span>&#160;<span class="comment">     * Set the default rip-flags to rip on just about</span></div>
<div class="line"><a name="l01812"></a><span class="lineno"> 1812</span>&#160;<span class="comment">     * everything.  We&#39;ll truly set this in the InitGlobalRIPFlags()</span></div>
<div class="line"><a name="l01813"></a><span class="lineno"> 1813</span>&#160;<span class="comment">     * routine.  These are needed so that we can do appropriate ripping</span></div>
<div class="line"><a name="l01814"></a><span class="lineno"> 1814</span>&#160;<span class="comment">     * during the rest of the init-calls.</span></div>
<div class="line"><a name="l01815"></a><span class="lineno"> 1815</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01816"></a><span class="lineno"> 1816</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a0cbfa48c1d60535a36e1a50cad564135">RipFlags</a>          = RIPF_PROMPTONERROR   |</div>
<div class="line"><a name="l01817"></a><span class="lineno"> 1817</span>&#160;                              RIPF_PRINTONERROR    |</div>
<div class="line"><a name="l01818"></a><span class="lineno"> 1818</span>&#160;                              RIPF_PRINTONWARNING  |</div>
<div class="line"><a name="l01819"></a><span class="lineno"> 1819</span>&#160;                              RIPF_KERNEL;</div>
<div class="line"><a name="l01820"></a><span class="lineno"> 1820</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a87bda40a4c9beada8ca7892e2717d489">dwDefaultHeapSize</a> = <a class="code" href="a03257.html#a117a972d032c15dedc9649d36ac0c02f">gdwDesktopSectionSize</a> * 1024;</div>
<div class="line"><a name="l01821"></a><span class="lineno"> 1821</span>&#160; </div>
<div class="line"><a name="l01822"></a><span class="lineno"> 1822</span>&#160;<span class="preprocessor">#ifdef DEBUG</span></div>
<div class="line"><a name="l01823"></a><span class="lineno"> 1823</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a0cbfa48c1d60535a36e1a50cad564135">RipFlags</a> |= RIPF_CHECKED;</div>
<div class="line"><a name="l01824"></a><span class="lineno"> 1824</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01825"></a><span class="lineno"> 1825</span>&#160; </div>
<div class="line"><a name="l01826"></a><span class="lineno"> 1826</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01827"></a><span class="lineno"> 1827</span>&#160;<span class="comment">     * Initialize procedures and message tables.</span></div>
<div class="line"><a name="l01828"></a><span class="lineno"> 1828</span>&#160;<span class="comment">     * Initialize the class structures for Get/SetClassWord/Long.</span></div>
<div class="line"><a name="l01829"></a><span class="lineno"> 1829</span>&#160;<span class="comment">     * Initialize message-box strings.</span></div>
<div class="line"><a name="l01830"></a><span class="lineno"> 1830</span>&#160;<span class="comment">     * Initialize OLE-Formats (performance-hack).</span></div>
<div class="line"><a name="l01831"></a><span class="lineno"> 1831</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01832"></a><span class="lineno"> 1832</span>&#160;    <a class="code" href="a03665.html#a349764fdd7b2214824e1a0251ddf44dd">InitFunctionTables</a>();</div>
<div class="line"><a name="l01833"></a><span class="lineno"> 1833</span>&#160;    <a class="code" href="a03665.html#a0cf0d1860a2b65c5ba7c45968901d151">InitMessageTables</a>();</div>
<div class="line"><a name="l01834"></a><span class="lineno"> 1834</span>&#160;    <a class="code" href="a03665.html#afa55b99d86799bb7ad6e88cadf6eca03">InitSyncOnlyMessages</a>();</div>
<div class="line"><a name="l01835"></a><span class="lineno"> 1835</span>&#160;    <a class="code" href="a00011.html#a179eb2d30cb9b0e612d121f042cc4e4d">InitClassOffsets</a>();</div>
<div class="line"><a name="l01836"></a><span class="lineno"> 1836</span>&#160;    <a class="code" href="a03665.html#acc38edc4aa6ec3ec11f134d55046fa48">InitMBStringArrays</a>();</div>
<div class="line"><a name="l01837"></a><span class="lineno"> 1837</span>&#160;    <a class="code" href="a03665.html#adf8abf36ba0d730b8ee779c51d042b4c">InitOLEFormats</a>();</div>
<div class="line"><a name="l01838"></a><span class="lineno"> 1838</span>&#160; </div>
<div class="line"><a name="l01839"></a><span class="lineno"> 1839</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01840"></a><span class="lineno"> 1840</span>&#160;<span class="comment">     * Set up class atoms</span></div>
<div class="line"><a name="l01841"></a><span class="lineno"> 1841</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01842"></a><span class="lineno"> 1842</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01843"></a><span class="lineno"> 1843</span>&#160;<span class="comment">     * HACK: Controls are registered on the client side so we can&#39;t</span></div>
<div class="line"><a name="l01844"></a><span class="lineno"> 1844</span>&#160;<span class="comment">     * fill in their atomSysClass entry the same way we do for the other</span></div>
<div class="line"><a name="l01845"></a><span class="lineno"> 1845</span>&#160;<span class="comment">     * classes.</span></div>
<div class="line"><a name="l01846"></a><span class="lineno"> 1846</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01847"></a><span class="lineno"> 1847</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_BUTTON]       = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#ac17fa43589ff35c4d79cb36e113168d0">szBUTTONCLASS</a>, TRUE);</div>
<div class="line"><a name="l01848"></a><span class="lineno"> 1848</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_COMBOBOX]     = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#af7c7ce2e11f161ac4e642f9732065600">szCOMBOBOXCLASS</a>, TRUE);</div>
<div class="line"><a name="l01849"></a><span class="lineno"> 1849</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_COMBOLISTBOX] = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#a13b185a06b3c04ed8425c9448a258aa8">szCOMBOLISTBOXCLASS</a>, TRUE);</div>
<div class="line"><a name="l01850"></a><span class="lineno"> 1850</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DIALOG]       = (ATOM)DIALOGCLASS;</div>
<div class="line"><a name="l01851"></a><span class="lineno"> 1851</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_EDIT]         = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#a6e7b077bea590abecbf03bbdcc500682">szEDITCLASS</a>, TRUE);</div>
<div class="line"><a name="l01852"></a><span class="lineno"> 1852</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_LISTBOX]      = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#a3592e492650aea4e68e9dc0d80eb6ae1">szLISTBOXCLASS</a>, TRUE);</div>
<div class="line"><a name="l01853"></a><span class="lineno"> 1853</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_MDICLIENT]    = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#ac0a2d616779ca7ea6411c25a2df562f8">szMDICLIENTCLASS</a>, TRUE);</div>
<div class="line"><a name="l01854"></a><span class="lineno"> 1854</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_STATIC]       = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#af88583c92947d9e7bbec6876b8fdb101">szSTATICCLASS</a>, TRUE);</div>
<div class="line"><a name="l01855"></a><span class="lineno"> 1855</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLMOTHER]  = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#a466c8bf9703eca2f411023af3153a165">szDDEMLMOTHERCLASS</a>, TRUE);</div>
<div class="line"><a name="l01856"></a><span class="lineno"> 1856</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEML16BIT]    = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#af610492c75647be75debb5a139a52bb4">szDDEML16BITCLASS</a>, TRUE);</div>
<div class="line"><a name="l01857"></a><span class="lineno"> 1857</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLCLIENTA]  = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#a0ae082bbea04311a60dd8c068b385843">szDDEMLCLIENTCLASSA</a>, TRUE);</div>
<div class="line"><a name="l01858"></a><span class="lineno"> 1858</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLCLIENTW]  = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#a49c4010b3158a12245b899d3da3bef05">szDDEMLCLIENTCLASSW</a>, TRUE);</div>
<div class="line"><a name="l01859"></a><span class="lineno"> 1859</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLSERVERA]  = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#af55e78226a1eab4e95cd36f25db6cfb6">szDDEMLSERVERCLASSA</a>, TRUE);</div>
<div class="line"><a name="l01860"></a><span class="lineno"> 1860</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLSERVERW]  = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#a157b3c92a59ba251347df35e34110837">szDDEMLSERVERCLASSW</a>, TRUE);</div>
<div class="line"><a name="l01861"></a><span class="lineno"> 1861</span>&#160;<span class="preprocessor">#ifdef FE_IME</span></div>
<div class="line"><a name="l01862"></a><span class="lineno"> 1862</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_IME]          = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(szIMECLASS, TRUE);</div>
<div class="line"><a name="l01863"></a><span class="lineno"> 1863</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l01864"></a><span class="lineno"> 1864</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DESKTOP]      = (ATOM)DESKTOPCLASS;</div>
<div class="line"><a name="l01865"></a><span class="lineno"> 1865</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_SWITCH]       = (ATOM)SWITCHWNDCLASS;</div>
<div class="line"><a name="l01866"></a><span class="lineno"> 1866</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_MENU]         = (ATOM)MENUCLASS;</div>
<div class="line"><a name="l01867"></a><span class="lineno"> 1867</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_SCROLLBAR]    = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#ae722290307af71f89f82600895ca3a14">szSCROLLBARCLASS</a>, TRUE);</div>
<div class="line"><a name="l01868"></a><span class="lineno"> 1868</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_ICONTITLE]    = (ATOM)ICONTITLECLASS;</div>
<div class="line"><a name="l01869"></a><span class="lineno"> 1869</span>&#160; </div>
<div class="line"><a name="l01870"></a><span class="lineno"> 1870</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">atomSysClass</a>[ICLS_DDEMLEVENT]    = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(<a class="code" href="a03665.html#a5f25f213e6a5992c8db55068b9f13875">szDDEMLEVENTCLASS</a>, TRUE);</div>
<div class="line"><a name="l01871"></a><span class="lineno"> 1871</span>&#160; </div>
<div class="line"><a name="l01872"></a><span class="lineno"> 1872</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01873"></a><span class="lineno"> 1873</span>&#160;<span class="comment">     * Initialize the integer atoms for our magic window properties</span></div>
<div class="line"><a name="l01874"></a><span class="lineno"> 1874</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01875"></a><span class="lineno"> 1875</span>&#160;    <a class="code" href="a03257.html#a12ce9543e8f3931ac8d620824ada6347">atomCheckpointProp</a> = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(CHECKPOINT_PROP_NAME, TRUE);</div>
<div class="line"><a name="l01876"></a><span class="lineno"> 1876</span>&#160;    <a class="code" href="a03257.html#a8a4f1c3ddfb24eb8c891a2b049042912">atomDDETrack</a>       = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(DDETRACK_PROP_NAME, TRUE);</div>
<div class="line"><a name="l01877"></a><span class="lineno"> 1877</span>&#160;    <a class="code" href="a03257.html#a80ba37acbd4e889d2a961a861231d269">atomQOS</a>            = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(QOS_PROP_NAME, TRUE);</div>
<div class="line"><a name="l01878"></a><span class="lineno"> 1878</span>&#160;    <a class="code" href="a03257.html#af4453d09007e4f5fe8c780d14d701a1a">atomDDEImp</a>         = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(DDEIMP_PROP_NAME, TRUE);</div>
<div class="line"><a name="l01879"></a><span class="lineno"> 1879</span>&#160; </div>
<div class="line"><a name="l01880"></a><span class="lineno"> 1880</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">atomContextHelpIdProp</a> = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(szCONTEXTHELPIDPROP, TRUE);</div>
<div class="line"><a name="l01881"></a><span class="lineno"> 1881</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ab6599d31c334db912307ec6e9605fe7e">atomIconSmProp</a>        = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(ICONSM_PROP_NAME, TRUE);</div>
<div class="line"><a name="l01882"></a><span class="lineno"> 1882</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a160faca06801b3578c3d78db2774a499">atomIconProp</a>          = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(ICON_PROP_NAME, TRUE);</div>
<div class="line"><a name="l01883"></a><span class="lineno"> 1883</span>&#160;    <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a297eef4221acb86fc35448c199c3076b">uiShellMsg</a>            = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(L<span class="stringliteral">&quot;SHELLHOOK&quot;</span>, TRUE);</div>
<div class="line"><a name="l01884"></a><span class="lineno"> 1884</span>&#160; </div>
<div class="line"><a name="l01885"></a><span class="lineno"> 1885</span>&#160;    <a class="code" href="a03257.html#a50563c6c979ad91669e08b094dcc0731">guiActivateShellWindow</a>  = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(L<span class="stringliteral">&quot;ACTIVATESHELLWINDOW&quot;</span>, TRUE);</div>
<div class="line"><a name="l01886"></a><span class="lineno"> 1886</span>&#160;    <a class="code" href="a03257.html#a77e23e78b8dbc0e72396f584639f0525">guiOtherWindowCreated</a>   = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(L<span class="stringliteral">&quot;OTHERWINDOWCREATED&quot;</span>, TRUE);</div>
<div class="line"><a name="l01887"></a><span class="lineno"> 1887</span>&#160;    <a class="code" href="a03257.html#ae9d80fdbdd3e695d7c42b5c3278ff79f">guiOtherWindowDestroyed</a> = <a class="code" href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a>(L<span class="stringliteral">&quot;OTHERWINDOWDESTROYED&quot;</span>, TRUE);</div>
<div class="line"><a name="l01888"></a><span class="lineno"> 1888</span>&#160; </div>
<div class="line"><a name="l01889"></a><span class="lineno"> 1889</span>&#160;    <a class="code" href="a03257.html#ac40f85b7e050f68ded4cb62b28a26090">gatomLastPinned</a> = <a class="code" href="a03257.html#ae9d80fdbdd3e695d7c42b5c3278ff79f">guiOtherWindowDestroyed</a>;</div>
<div class="line"><a name="l01890"></a><span class="lineno"> 1890</span>&#160; </div>
<div class="line"><a name="l01891"></a><span class="lineno"> 1891</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01892"></a><span class="lineno"> 1892</span>&#160;<span class="comment">     * Do init-loading.  These calls will setup parts of the gpDispInfo.</span></div>
<div class="line"><a name="l01893"></a><span class="lineno"> 1893</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01894"></a><span class="lineno"> 1894</span>&#160;    <a class="code" href="a00719.html#a48c4c0ff3ac637cb55a5e8898cd67807">LW_LoadSomeStrings</a>();</div>
<div class="line"><a name="l01895"></a><span class="lineno"> 1895</span>&#160;    <a class="code" href="a00719.html#a72ef54e7cd33b78219fba2e112359f00">LW_LoadDllList</a>();</div>
<div class="line"><a name="l01896"></a><span class="lineno"> 1896</span>&#160; </div>
<div class="line"><a name="l01897"></a><span class="lineno"> 1897</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01898"></a><span class="lineno"> 1898</span>&#160;<span class="comment">     * Initialize the handle manager.</span></div>
<div class="line"><a name="l01899"></a><span class="lineno"> 1899</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01900"></a><span class="lineno"> 1900</span>&#160;    <a class="code" href="a00695.html#a7da01a4fca392b6cbf8dbe046861b9da">HMInitHandleTable</a>(<a class="code" href="a03257.html#a333e3ab0aeefbd49df4da9480fff5eb9">gpReadOnlySharedSectionBase</a>);</div>
<div class="line"><a name="l01901"></a><span class="lineno"> 1901</span>&#160; </div>
<div class="line"><a name="l01902"></a><span class="lineno"> 1902</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01903"></a><span class="lineno"> 1903</span>&#160;<span class="comment">     * Setup shared info block.</span></div>
<div class="line"><a name="l01904"></a><span class="lineno"> 1904</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01905"></a><span class="lineno"> 1905</span>&#160;    <a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#a6da4f30e256d1a1a5920b1d0a2ec73c2">psi</a> = <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>;</div>
<div class="line"><a name="l01906"></a><span class="lineno"> 1906</span>&#160; </div>
<div class="line"><a name="l01907"></a><span class="lineno"> 1907</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01908"></a><span class="lineno"> 1908</span>&#160;<span class="comment">     * Perform driver-loading sequence.  If this is successful, the</span></div>
<div class="line"><a name="l01909"></a><span class="lineno"> 1909</span>&#160;<span class="comment">     * gpDispInfo-&gt;hDev and pdevlock should be initialized.</span></div>
<div class="line"><a name="l01910"></a><span class="lineno"> 1910</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01911"></a><span class="lineno"> 1911</span>&#160;    <span class="keywordflow">if</span> (!NT_SUCCESS(<a class="code" href="a00665.html#a7c930cc47b4f158c545b3f7dbcdb75c5">InitLoadDriver</a>()))</div>
<div class="line"><a name="l01912"></a><span class="lineno"> 1912</span>&#160;        <span class="keywordflow">goto</span> LeaveCritExit;</div>
<div class="line"><a name="l01913"></a><span class="lineno"> 1913</span>&#160; </div>
<div class="line"><a name="l01914"></a><span class="lineno"> 1914</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01915"></a><span class="lineno"> 1915</span>&#160;<span class="comment">     * Now that the system is initialized, allocate</span></div>
<div class="line"><a name="l01916"></a><span class="lineno"> 1916</span>&#160;<span class="comment">     * a pti for this thread.</span></div>
<div class="line"><a name="l01917"></a><span class="lineno"> 1917</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01918"></a><span class="lineno"> 1918</span>&#160;    Status = <a class="code" href="a00824.html#abfd2ef0f8a995e8d2f10f8f0248faf5e">xxxCreateThreadInfo</a>(W32GetCurrentThread());</div>
<div class="line"><a name="l01919"></a><span class="lineno"> 1919</span>&#160; </div>
<div class="line"><a name="l01920"></a><span class="lineno"> 1920</span>&#160;    <span class="comment">/*</span></div>
<div class="line"><a name="l01921"></a><span class="lineno"> 1921</span>&#160;<span class="comment">     * Initialize Global RIP flags (debug only).</span></div>
<div class="line"><a name="l01922"></a><span class="lineno"> 1922</span>&#160;<span class="comment">     */</span></div>
<div class="line"><a name="l01923"></a><span class="lineno"> 1923</span>&#160;    <a class="code" href="a03665.html#ae4eaf02d7e71b99ea472ad35fc41d2c5">InitGlobalRIPFlags</a>();</div>
<div class="line"><a name="l01924"></a><span class="lineno"> 1924</span>&#160; </div>
<div class="line"><a name="l01925"></a><span class="lineno"> 1925</span>&#160;    <a class="code" href="a00719.html#abadfb326c0062a86c27ca931bd156f80">LW_BrushInit</a>();</div>
<div class="line"><a name="l01926"></a><span class="lineno"> 1926</span>&#160; </div>
<div class="line"><a name="l01927"></a><span class="lineno"> 1927</span>&#160;    <a class="code" href="a03665.html#a2a69383a188c05921aeda5715ddb2336">InitLoadResources</a>();</div>
<div class="line"><a name="l01928"></a><span class="lineno"> 1928</span>&#160; </div>
<div class="line"><a name="l01929"></a><span class="lineno"> 1929</span>&#160; </div>
<div class="line"><a name="l01930"></a><span class="lineno"> 1930</span>&#160;LeaveCritExit:</div>
<div class="line"><a name="l01931"></a><span class="lineno"> 1931</span>&#160;    <a class="code" href="a00821.html#aa99363e718e5d1c8d2d5232e51fe2716">FastCloseProfileUserMapping</a>();</div>
<div class="line"><a name="l01932"></a><span class="lineno"> 1932</span>&#160;    <a class="code" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a>();</div>
<div class="line"><a name="l01933"></a><span class="lineno"> 1933</span>&#160;    <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l01934"></a><span class="lineno"> 1934</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a03257_source.html#l00273">atomCheckpointProp</a>, <a class="el" href="a00365_source.html#l01044">tagSERVERINFO::atomContextHelpIdProp</a>, <a class="el" href="a03257_source.html#l00276">atomDDEImp</a>, <a class="el" href="a03257_source.html#l00274">atomDDETrack</a>, <a class="el" href="a00365_source.html#l01036">tagSERVERINFO::atomIconProp</a>, <a class="el" href="a00365_source.html#l01035">tagSERVERINFO::atomIconSmProp</a>, <a class="el" href="a03257_source.html#l00275">atomQOS</a>, <a class="el" href="a00365_source.html#l00998">tagSERVERINFO::atomSysClass</a>, <a class="el" href="a03257_source.html#l00277">atomUSER32</a>, <a class="el" href="a03257_source.html#l00017">cachedCaptions</a>, <a class="el" href="a00839_source.html#l00047">DesktopMapping</a>, <a class="el" href="a00899.html#a4bc3f9c172161d3d0f8ad1868ac6ad85">DestroyWindowStation()</a>, <a class="el" href="a00365_source.html#l01001">tagSERVERINFO::dwDefaultHeapSize</a>, <a class="el" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit()</a>, <a class="el" href="a00821_source.html#l00224">FastCloseProfileUserMapping()</a>, <a class="el" href="a00821_source.html#l00160">FastOpenProfileUserMapping()</a>, <a class="el" href="a00656_source.html#l01722">FreeDesktop()</a>, <a class="el" href="a00899.html#a666116d3947c19e095a0d91378a6c91f">FreeWindowStation()</a>, <a class="el" href="a03257_source.html#l00271">gatomFirstPinned</a>, <a class="el" href="a03257_source.html#l00272">gatomLastPinned</a>, <a class="el" href="a03257_source.html#l00057">gdwDesktopSectionSize</a>, <a class="el" href="a03257_source.html#l00125">gpDispInfo</a>, <a class="el" href="a03257_source.html#l00053">gpReadOnlySharedSectionBase</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a00020_source.html#l00040">gSharedInfo</a>, <a class="el" href="a03257_source.html#l00072">guiActivateShellWindow</a>, <a class="el" href="a03257_source.html#l00073">guiOtherWindowCreated</a>, <a class="el" href="a03257_source.html#l00074">guiOtherWindowDestroyed</a>, <a class="el" href="a00695_source.html#l00117">HMInitHandleTable()</a>, <a class="el" href="a00011_source.html#l00072">InitClassOffsets()</a>, <a class="el" href="a03665_source.html#l01360">InitCreateObjectDirectory()</a>, <a class="el" href="a03665_source.html#l01264">InitCreateSharedSection()</a>, <a class="el" href="a03665_source.html#l01326">InitCreateUserCrit()</a>, <a class="el" href="a03665_source.html#l01403">InitCreateUserSubsystem()</a>, <a class="el" href="a03665_source.html#l00928">InitFunctionTables()</a>, <a class="el" href="a03665_source.html#l01160">InitGlobalRIPFlags()</a>, <a class="el" href="a03665.html#a94d8e171ecf569e641e9c7d938b6d3aa">InitKeyStateLookaside()</a>, <a class="el" href="a00665_source.html#l02945">InitLoadDriver()</a>, <a class="el" href="a03665_source.html#l01557">InitLoadResources()</a>, <a class="el" href="a03665_source.html#l01064">InitMBStringArrays()</a>, <a class="el" href="a03665_source.html#l01032">InitMessageTables()</a>, <a class="el" href="a03665_source.html#l01111">InitOLEFormats()</a>, <a class="el" href="a03665.html#af055163aa935641052a93a51af158b08">InitQEntryLookaside()</a>, <a class="el" href="a00839_source.html#l00187">InitSecurity()</a>, <a class="el" href="a03665.html#a57696311f50b9ef1cd14b4a13525887b">InitSMSLookaside()</a>, <a class="el" href="a03665_source.html#l00730">InitSyncOnlyMessages()</a>, <a class="el" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit()</a>, <a class="el" href="a00719_source.html#l01045">LW_BrushInit()</a>, <a class="el" href="a00719_source.html#l00460">LW_LoadDllList()</a>, <a class="el" href="a00719_source.html#l00433">LW_LoadSomeStrings()</a>, <a class="el" href="a00656_source.html#l01963">MapDesktop()</a>, <a class="el" href="a00656_source.html#l01596">ParseDesktop()</a>, <a class="el" href="a00899.html#a631c021d41d6cae4a32e2f5a937603ed">ParseWindowStation()</a>, <a class="el" href="a00365_source.html#l01059">tagSHAREDINFO::psi</a>, <a class="el" href="a00365_source.html#l00945">tagSERVERINFO::RipFlags</a>, <a class="el" href="a00680_source.html#l00305">SharedAlloc()</a>, <a class="el" href="a03665_source.html#l00039">szBUTTONCLASS</a>, <a class="el" href="a03665_source.html#l00044">szCOMBOBOXCLASS</a>, <a class="el" href="a03665_source.html#l00043">szCOMBOLISTBOXCLASS</a>, <a class="el" href="a03665_source.html#l00048">szDDEML16BITCLASS</a>, <a class="el" href="a03665_source.html#l00051">szDDEMLCLIENTCLASSA</a>, <a class="el" href="a03665_source.html#l00049">szDDEMLCLIENTCLASSW</a>, <a class="el" href="a03665_source.html#l00046">szDDEMLEVENTCLASS</a>, <a class="el" href="a03665_source.html#l00047">szDDEMLMOTHERCLASS</a>, <a class="el" href="a03665_source.html#l00052">szDDEMLSERVERCLASSA</a>, <a class="el" href="a03665_source.html#l00050">szDDEMLSERVERCLASSW</a>, <a class="el" href="a03665_source.html#l00038">szEDITCLASS</a>, <a class="el" href="a03665_source.html#l00041">szLISTBOXCLASS</a>, <a class="el" href="a03665_source.html#l00045">szMDICLIENTCLASS</a>, <a class="el" href="a03665_source.html#l00042">szSCROLLBARCLASS</a>, <a class="el" href="a03665_source.html#l00040">szSTATICCLASS</a>, <a class="el" href="a00020_source.html#l00050">szUSER32</a>, <a class="el" href="a03257_source.html#l00507">TraceDisplayDriverLoad</a>, <a class="el" href="a00365_source.html#l01009">tagSERVERINFO::uiShellMsg</a>, <a class="el" href="a00656_source.html#l02089">UnmapDesktop()</a>, <a class="el" href="a00605_source.html#l00033">UserAddAtom()</a>, <a class="el" href="a00605_source.html#l00016">UserRtlCreateAtomTable()</a>, <a class="el" href="a03665_source.html#l00031">USRINIT_ATOMBUCKET_SIZE</a>, <a class="el" href="a03665_source.html#l00030">USRINIT_SHAREDSECT_SIZE</a>, <a class="el" href="a00839_source.html#l00029">WinStaMapping</a> , 以及 <a class="el" href="a00824_source.html#l00933">xxxCreateThreadInfo()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l02091">NtUserInitialize()</a>.</p>

</div>
</div>
<a id="ab8ada4deb2f02da279ad4de32fbcc8e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab8ada4deb2f02da279ad4de32fbcc8e6">&#9670;&nbsp;</a></span>UserProcessCallout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS UserProcessCallout </td>
          <td>(</td>
          <td class="paramtype">IN PW32PROCESS&#160;</td>
          <td class="paramname"><em>Process</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN BOOLEAN&#160;</td>
          <td class="paramname"><em>Initialize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l02228">2228</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>&#160;{</div>
<div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>&#160;    NTSTATUS     Status = STATUS_SUCCESS;</div>
<div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>&#160; </div>
<div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>&#160;    <span class="keywordflow">if</span> (Initialize) {</div>
<div class="line"><a name="l02235"></a><span class="lineno"> 2235</span>&#160; </div>
<div class="line"><a name="l02236"></a><span class="lineno"> 2236</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a03257.html#ac6b62aff5aa60b8f170320cd7c3f32d7">gpresUser</a>)</div>
<div class="line"><a name="l02237"></a><span class="lineno"> 2237</span>&#160;            <a class="code" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a>();</div>
<div class="line"><a name="l02238"></a><span class="lineno"> 2238</span>&#160; </div>
<div class="line"><a name="l02239"></a><span class="lineno"> 2239</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l02240"></a><span class="lineno"> 2240</span>&#160;<span class="comment">         * Initialize the important process level stuff.</span></div>
<div class="line"><a name="l02241"></a><span class="lineno"> 2241</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l02242"></a><span class="lineno"> 2242</span>&#160;        <span class="keywordflow">if</span> (!<a class="code" href="a00824.html#a20d4e3ea15f4d047785697f4c14e94c7">InitProcessInfo</a>(Process)) {</div>
<div class="line"><a name="l02243"></a><span class="lineno"> 2243</span>&#160;            Status = STATUS_NO_MEMORY;</div>
<div class="line"><a name="l02244"></a><span class="lineno"> 2244</span>&#160;        }</div>
<div class="line"><a name="l02245"></a><span class="lineno"> 2245</span>&#160; </div>
<div class="line"><a name="l02246"></a><span class="lineno"> 2246</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a03257.html#ac6b62aff5aa60b8f170320cd7c3f32d7">gpresUser</a>)</div>
<div class="line"><a name="l02247"></a><span class="lineno"> 2247</span>&#160;            <a class="code" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a>();</div>
<div class="line"><a name="l02248"></a><span class="lineno"> 2248</span>&#160; </div>
<div class="line"><a name="l02249"></a><span class="lineno"> 2249</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l02250"></a><span class="lineno"> 2250</span>&#160; </div>
<div class="line"><a name="l02251"></a><span class="lineno"> 2251</span>&#160;        <span class="keywordtype">int</span>  i;</div>
<div class="line"><a name="l02252"></a><span class="lineno"> 2252</span>&#160;        <a class="code" href="a02553.html">PHE</a>  phe;</div>
<div class="line"><a name="l02253"></a><span class="lineno"> 2253</span>&#160;        <a class="code" href="a02909.html">PDCE</a> *ppdce;</div>
<div class="line"><a name="l02254"></a><span class="lineno"> 2254</span>&#160;        <a class="code" href="a02909.html">PDCE</a> pdce;</div>
<div class="line"><a name="l02255"></a><span class="lineno"> 2255</span>&#160; </div>
<div class="line"><a name="l02256"></a><span class="lineno"> 2256</span>&#160;        <a class="code" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a>();</div>
<div class="line"><a name="l02257"></a><span class="lineno"> 2257</span>&#160; </div>
<div class="line"><a name="l02258"></a><span class="lineno"> 2258</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l02259"></a><span class="lineno"> 2259</span>&#160;<span class="comment">         * DestroyProcessInfo will return TRUE if any threads ever</span></div>
<div class="line"><a name="l02260"></a><span class="lineno"> 2260</span>&#160;<span class="comment">         * connected.  If nothing ever connected, we needn&#39;t do</span></div>
<div class="line"><a name="l02261"></a><span class="lineno"> 2261</span>&#160;<span class="comment">         * this cleanup.</span></div>
<div class="line"><a name="l02262"></a><span class="lineno"> 2262</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l02263"></a><span class="lineno"> 2263</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="a00824.html#a6a7fb4f365d4d2e1262f9393629e17be">DestroyProcessInfo</a>(Process)) {</div>
<div class="line"><a name="l02264"></a><span class="lineno"> 2264</span>&#160; </div>
<div class="line"><a name="l02265"></a><span class="lineno"> 2265</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l02266"></a><span class="lineno"> 2266</span>&#160;<span class="comment">             * See if we can compact the handle table.</span></div>
<div class="line"><a name="l02267"></a><span class="lineno"> 2267</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l02268"></a><span class="lineno"> 2268</span>&#160;            i = <a class="code" href="a03257.html#ab302ed5096d732e53f944c97b8321ba0">giheLast</a>;</div>
<div class="line"><a name="l02269"></a><span class="lineno"> 2269</span>&#160;            phe = &amp;<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#aba571224616f70b9a072015bc9873676">aheList</a>[<a class="code" href="a03257.html#ab302ed5096d732e53f944c97b8321ba0">giheLast</a>];</div>
<div class="line"><a name="l02270"></a><span class="lineno"> 2270</span>&#160;            <span class="keywordflow">while</span> ((phe &gt; &amp;<a class="code" href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a>.<a class="code" href="a02521.html#aba571224616f70b9a072015bc9873676">aheList</a>[0]) &amp;&amp; (phe-&gt;<a class="code" href="a02553.html#ab51f0b363324b2cf09057a4c55d5100f">bType</a> == TYPE_FREE)) {</div>
<div class="line"><a name="l02271"></a><span class="lineno"> 2271</span>&#160;                phe--;</div>
<div class="line"><a name="l02272"></a><span class="lineno"> 2272</span>&#160;                <a class="code" href="a03257.html#ab302ed5096d732e53f944c97b8321ba0">giheLast</a>--;</div>
<div class="line"><a name="l02273"></a><span class="lineno"> 2273</span>&#160;            }</div>
<div class="line"><a name="l02274"></a><span class="lineno"> 2274</span>&#160; </div>
<div class="line"><a name="l02275"></a><span class="lineno"> 2275</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l02276"></a><span class="lineno"> 2276</span>&#160;<span class="comment">             * Scan the DC cache to find any DC&#39;s that need to be destroyed.</span></div>
<div class="line"><a name="l02277"></a><span class="lineno"> 2277</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l02278"></a><span class="lineno"> 2278</span>&#160;            <span class="keywordflow">for</span> (ppdce = &amp;<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#afb2df48c699295f358dd262c291570a2">pdceFirst</a>; *ppdce != NULL; ) {</div>
<div class="line"><a name="l02279"></a><span class="lineno"> 2279</span>&#160; </div>
<div class="line"><a name="l02280"></a><span class="lineno"> 2280</span>&#160;                pdce = *ppdce;</div>
<div class="line"><a name="l02281"></a><span class="lineno"> 2281</span>&#160;                <span class="keywordflow">if</span> (pdce-&gt;<a class="code" href="a02909.html#a29bb851466268efcf57e7e81e2d0ab09">flags</a> &amp; DCX_DESTROYTHIS)</div>
<div class="line"><a name="l02282"></a><span class="lineno"> 2282</span>&#160;                    <a class="code" href="a00644.html#a7f629d5ea5347d4878f63af730734e45">DestroyCacheDC</a>(ppdce, pdce-&gt;<a class="code" href="a02909.html#acc6792141787aadc4d90abe018db1e02">hdc</a>);</div>
<div class="line"><a name="l02283"></a><span class="lineno"> 2283</span>&#160; </div>
<div class="line"><a name="l02284"></a><span class="lineno"> 2284</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l02285"></a><span class="lineno"> 2285</span>&#160;<span class="comment">                 * Step to the next DC.  If the DC was deleted, there</span></div>
<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>&#160;<span class="comment">                 * is no need to calculate address of the next entry.</span></div>
<div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>&#160;                <span class="keywordflow">if</span> (pdce == *ppdce)</div>
<div class="line"><a name="l02289"></a><span class="lineno"> 2289</span>&#160;                    ppdce = &amp;pdce-&gt;<a class="code" href="a02909.html#a836027bc59a581f318ea7974231660a0">pdceNext</a>;</div>
<div class="line"><a name="l02290"></a><span class="lineno"> 2290</span>&#160;            }</div>
<div class="line"><a name="l02291"></a><span class="lineno"> 2291</span>&#160;        }</div>
<div class="line"><a name="l02292"></a><span class="lineno"> 2292</span>&#160; </div>
<div class="line"><a name="l02293"></a><span class="lineno"> 2293</span>&#160;        <a class="code" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a>();</div>
<div class="line"><a name="l02294"></a><span class="lineno"> 2294</span>&#160;    }</div>
<div class="line"><a name="l02295"></a><span class="lineno"> 2295</span>&#160; </div>
<div class="line"><a name="l02296"></a><span class="lineno"> 2296</span>&#160;    <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l02297"></a><span class="lineno"> 2297</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l01060">tagSHAREDINFO::aheList</a>, <a class="el" href="a00365_source.html#l01168">_HANDLEENTRY::bType</a>, <a class="el" href="a00644_source.html#l01486">DestroyCacheDC()</a>, <a class="el" href="a00824_source.html#l03596">DestroyProcessInfo()</a>, <a class="el" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit()</a>, <a class="el" href="a00899_source.html#l02466">tagDCE::flags</a>, <a class="el" href="a03257_source.html#l00065">giheLast</a>, <a class="el" href="a03257_source.html#l00125">gpDispInfo</a>, <a class="el" href="a03257_source.html#l00169">gpresUser</a>, <a class="el" href="a00020_source.html#l00040">gSharedInfo</a>, <a class="el" href="a00899_source.html#l02460">tagDCE::hdc</a>, <a class="el" href="a00824_source.html#l03534">InitProcessInfo()</a>, <a class="el" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit()</a>, <a class="el" href="a00365_source.html#l01574">tagDISPLAYINFO::pdceFirst</a> , 以及 <a class="el" href="a00899_source.html#l02459">tagDCE::pdceNext</a>.</p>

</div>
</div>
<a id="a8e0ac133c874e5167a899da393955cc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e0ac133c874e5167a899da393955cc5">&#9670;&nbsp;</a></span>UserThreadCallout()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">NTSTATUS UserThreadCallout </td>
          <td>(</td>
          <td class="paramtype">IN PW32THREAD&#160;</td>
          <td class="paramname"><em>Thread</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">IN PSW32THREADCALLOUTTYPE&#160;</td>
          <td class="paramname"><em>CalloutType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l02002">2002</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>&#160;{</div>
<div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> pti;</div>
<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160;    NTSTATUS    Status = STATUS_SUCCESS;</div>
<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>&#160;    BOOL        fCritIn;</div>
<div class="line"><a name="l02009"></a><span class="lineno"> 2009</span>&#160; </div>
<div class="line"><a name="l02010"></a><span class="lineno"> 2010</span>&#160;    <span class="keywordflow">switch</span> (CalloutType) {</div>
<div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>&#160;        <span class="keywordflow">case</span> PsW32ThreadCalloutInitialize:</div>
<div class="line"><a name="l02012"></a><span class="lineno"> 2012</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l02013"></a><span class="lineno"> 2013</span>&#160;<span class="comment">             * Only create a thread info structure if we&#39;re initialized.</span></div>
<div class="line"><a name="l02014"></a><span class="lineno"> 2014</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l02015"></a><span class="lineno"> 2015</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a03257.html#ac6b62aff5aa60b8f170320cd7c3f32d7">gpresUser</a>) {</div>
<div class="line"><a name="l02016"></a><span class="lineno"> 2016</span>&#160;                <a class="code" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a>();</div>
<div class="line"><a name="l02017"></a><span class="lineno"> 2017</span>&#160;                Status = <a class="code" href="a00824.html#abfd2ef0f8a995e8d2f10f8f0248faf5e">xxxCreateThreadInfo</a>(Thread);</div>
<div class="line"><a name="l02018"></a><span class="lineno"> 2018</span>&#160;                <a class="code" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a>();</div>
<div class="line"><a name="l02019"></a><span class="lineno"> 2019</span>&#160;            }</div>
<div class="line"><a name="l02020"></a><span class="lineno"> 2020</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l02021"></a><span class="lineno"> 2021</span>&#160; </div>
<div class="line"><a name="l02022"></a><span class="lineno"> 2022</span>&#160;       <span class="keywordflow">case</span> PsW32ThreadCalloutExit:</div>
<div class="line"><a name="l02023"></a><span class="lineno"> 2023</span>&#160;           <span class="comment">/*</span></div>
<div class="line"><a name="l02024"></a><span class="lineno"> 2024</span>&#160;<span class="comment">            * First call the DCI release code to synchronize with DCI when</span></div>
<div class="line"><a name="l02025"></a><span class="lineno"> 2025</span>&#160;<span class="comment">            * releasing the DEV lock</span></div>
<div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>&#160;<span class="comment">            */</span></div>
<div class="line"><a name="l02027"></a><span class="lineno"> 2027</span>&#160;           GreLockDisplay(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a5e0929a8ef013061be966961b2eddbff">pDevLock</a>);</div>
<div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>&#160;           GreUnlockDisplay(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#a5e0929a8ef013061be966961b2eddbff">pDevLock</a>);</div>
<div class="line"><a name="l02029"></a><span class="lineno"> 2029</span>&#160; </div>
<div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>&#160;           <span class="comment">/*</span></div>
<div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>&#160;<span class="comment">            * If we aren&#39;t already inside the critical section, enter it.</span></div>
<div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>&#160;<span class="comment">            * Because this is the first pass, we remain in the critical</span></div>
<div class="line"><a name="l02033"></a><span class="lineno"> 2033</span>&#160;<span class="comment">            * section when we return so that our try/finally handlers</span></div>
<div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>&#160;<span class="comment">            * are protected by the critical section.</span></div>
<div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>&#160;<span class="comment">            */</span></div>
<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>&#160;           <a class="code" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a>();</div>
<div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>&#160;           <span class="comment">/*</span></div>
<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>&#160;<span class="comment">            * Mark this thread as in the middle of cleanup. This is useful for</span></div>
<div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>&#160;<span class="comment">            * several problems in USER where we need to know this information.</span></div>
<div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>&#160;<span class="comment">            */</span></div>
<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>&#160;           pti = (<a class="code" href="a00365.html#a177dce23f2b497ba8dc22f5a92d3f3d3">PTHREADINFO</a>)Thread;</div>
<div class="line"><a name="l02042"></a><span class="lineno"> 2042</span>&#160;           pti-&gt;<a class="code" href="a02889.html#ae8b869ec5b101646649020f5b0fd5d0d">TIF_flags</a> |= TIF_INCLEANUP;</div>
<div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>&#160;           <span class="comment">/*</span></div>
<div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>&#160;<span class="comment">            * If we died during a full screen switch make sure we cleanup</span></div>
<div class="line"><a name="l02045"></a><span class="lineno"> 2045</span>&#160;<span class="comment">            * correctly</span></div>
<div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>&#160;<span class="comment">            */</span></div>
<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>&#160;           <a class="code" href="a00689.html#a2cf7d13f9206082622d1c7c42dd43e40">FullScreenCleanup</a>();</div>
<div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>&#160;           <span class="comment">/*</span></div>
<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>&#160;<span class="comment">            * Cleanup gpDispInfo-&gt;hdcScreen - if we crashed while using it,</span></div>
<div class="line"><a name="l02050"></a><span class="lineno"> 2050</span>&#160;<span class="comment">            * it may have owned objects still selected into it. Cleaning</span></div>
<div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>&#160;<span class="comment">            * it this way will ensure that gdi doesn&#39;t try to delete these</span></div>
<div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>&#160;<span class="comment">            * objects while they are still selected into this public hdc.</span></div>
<div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>&#160;<span class="comment">            */</span></div>
<div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>&#160;           GreCleanDC(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>);</div>
<div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>&#160;           <span class="comment">/*</span></div>
<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>&#160;<span class="comment">            * This thread is exiting execution; xxxDestroyThreadInfo cleans</span></div>
<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>&#160;<span class="comment">            *  up everything that can go now</span></div>
<div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>&#160;<span class="comment">            */</span></div>
<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>&#160;           <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(pti == <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>());</div>
<div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>&#160;           <a class="code" href="a00824.html#ae1fd296dfef25f7afb5e44ece42b1bf3">xxxDestroyThreadInfo</a>();</div>
<div class="line"><a name="l02061"></a><span class="lineno"> 2061</span>&#160;           <a class="code" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a>();</div>
<div class="line"><a name="l02062"></a><span class="lineno"> 2062</span>&#160;           <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l02063"></a><span class="lineno"> 2063</span>&#160; </div>
<div class="line"><a name="l02064"></a><span class="lineno"> 2064</span>&#160;        <span class="keywordflow">case</span> PsW32ThreadCalloutDelete:</div>
<div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l02066"></a><span class="lineno"> 2066</span>&#160;<span class="comment">             * The object is going away for good, do the final cleanup</span></div>
<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>&#160;            fCritIn = ExIsResourceAcquiredExclusiveLite(<a class="code" href="a03257.html#ac6b62aff5aa60b8f170320cd7c3f32d7">gpresUser</a>);</div>
<div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>&#160;            <span class="keywordflow">if</span> (!fCritIn) {</div>
<div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>&#160;                <a class="code" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a>();</div>
<div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>&#160;            }</div>
<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>&#160; </div>
<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>&#160;            <a class="code" href="a00824.html#a73f8ccc884e465b0ab2f729c70791cc1">DeleteThreadInfo</a> ((<a class="code" href="a02889.html">PTHREADINFO</a>)Thread);</div>
<div class="line"><a name="l02074"></a><span class="lineno"> 2074</span>&#160; </div>
<div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>&#160;            <span class="keywordflow">if</span> (!fCritIn) {</div>
<div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>&#160;                <a class="code" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a>();</div>
<div class="line"><a name="l02077"></a><span class="lineno"> 2077</span>&#160;            }</div>
<div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>&#160;           <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>&#160; </div>
<div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>&#160;    }</div>
<div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>&#160; </div>
<div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>&#160;    <span class="keywordflow">return</span> Status;</div>
<div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00824_source.html#l01693">DeleteThreadInfo()</a>, <a class="el" href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit()</a>, <a class="el" href="a00689_source.html#l00075">FullScreenCleanup()</a>, <a class="el" href="a03257_source.html#l00125">gpDispInfo</a>, <a class="el" href="a03257_source.html#l00169">gpresUser</a>, <a class="el" href="a00365_source.html#l01566">tagDISPLAYINFO::hdcScreen</a>, <a class="el" href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit()</a>, <a class="el" href="a00365_source.html#l01577">tagDISPLAYINFO::pDevLock</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00899_source.html#l02294">tagTHREADINFO::TIF_flags</a>, <a class="el" href="a00950_source.html#l00117">UserAssert</a>, <a class="el" href="a00824_source.html#l00933">xxxCreateThreadInfo()</a> , 以及 <a class="el" href="a00824_source.html#l01766">xxxDestroyThreadInfo()</a>.</p>

</div>
</div>
<a id="ac6c04ad1ee282570c627a5858e7a6c4c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6c04ad1ee282570c627a5858e7a6c4c">&#9670;&nbsp;</a></span>WRAPPFN()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WRAPPFN </td>
          <td>(</td>
          <td class="paramtype">DesktopWndProc&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5c2749fb852a211724fa62099076d750"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c2749fb852a211724fa62099076d750">&#9670;&nbsp;</a></span>xxxClientLoadDisplayResource()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">BOOL xxxClientLoadDisplayResource </td>
          <td>(</td>
          <td class="paramtype">PUNICODE_STRING&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00365.html#aca34b9591deb3dc39c7ebed9015d9b0f">PDISPLAYRESOURCE</a>&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01557">InitLoadResources()</a>.</p>

</div>
</div>
<a id="a00c37f6f9665c90db0ccc814ba381a62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00c37f6f9665c90db0ccc814ba381a62">&#9670;&nbsp;</a></span>xxxDesktopWndProc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LONG xxxDesktopWndProc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LPARAM&#160;</td>
          <td class="paramname"><em>lParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a00656_source.html">desktop.c</a> 第 <a class="el" href="a00656_source.html#l00499">499</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;{</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;    <a class="code" href="a02889.html">PTHREADINFO</a> ptiCurrent = <a class="code" href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a>();</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;    HDC         hdcT;</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;    PAINTSTRUCT ps;</div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;    <a class="code" href="a02805.html">PDESKWND</a>    pdeskwnd = (<a class="code" href="a00899.html#a3e4266cb34d269da6b269dc90d5ceb10">PDESKWND</a>)pwnd;</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    PWINDOWPOS  pwp;</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160; </div>
<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;    <a class="code" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a>(pwnd);</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160; </div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;    VALIDATECLASSANDSIZE(pwnd, FNID_DESKTOP);</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160; </div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160; </div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;    <span class="keywordflow">if</span> (pwnd-&gt;<a class="code" href="a02581.html#a6053af0b243b6737640988eb63081de3">spwndParent</a> == NULL) {</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        <span class="keywordflow">switch</span> (message) {</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160; </div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;            <span class="keywordflow">case</span> WM_SETICON:</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;                <span class="comment">/*</span></div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;<span class="comment">                 * cannot allow this as it will cause a callback to user mode from the</span></div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;<span class="comment">                 * desktop system thread.</span></div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;<span class="comment">                 */</span></div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;                <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;WM_ICON sent to desktop window was discarded.\n&quot;</span>) ;</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;                <span class="keywordflow">return</span> 0L ;</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160; </div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;            <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;                <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;        } <span class="comment">/* switch */</span></div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160; </div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a>(pwnd, message, wParam, lParam);</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;    }</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160; </div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;    <span class="keywordflow">switch</span> (message) {</div>
<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160; </div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;    <span class="keywordflow">case</span> WM_WINDOWPOSCHANGING:</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160; </div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;<span class="comment">         * We receive this when switch desktop is called.  Just</span></div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;<span class="comment">         * to be consistent, set the rit desktop as this</span></div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;<span class="comment">         * thread&#39;s desktop.</span></div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;        pwp = (PWINDOWPOS)lParam;</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;        <span class="keywordflow">if</span> (!(pwp-&gt;flags &amp; SWP_NOZORDER) &amp;&amp; pwp-&gt;hwndInsertAfter == HWND_TOP) {</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160; </div>
<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;            <a class="code" href="a00656.html#a9612118d196f921acc52dcedded646c8">_SetThreadDesktop</a>(NULL, <a class="code" href="a03257.html#a326757fcfe334f2ffd59d64d4645d37a">grpdeskRitInput</a>);</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160; </div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;<span class="comment">             * If some app has taken over the system-palette, we should make</span></div>
<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;<span class="comment">             * sure the system is restored.  Otherwise, if this is the logon</span></div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;<span class="comment">             * desktop, we might not be able to view the dialog correctly.</span></div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;            <span class="keywordflow">if</span> (GreGetSystemPaletteUse(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>) != SYSPAL_STATIC)</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;                GreRealizeDefaultPalette(<a class="code" href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a>-&gt;<a class="code" href="a02605.html#af0da313e582dc95c2853349086631cd8">hdcScreen</a>, TRUE);</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160; </div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;<span class="comment">             * Let everyone know if the palette has changed</span></div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a326757fcfe334f2ffd59d64d4645d37a">grpdeskRitInput</a>-&gt;<a class="code" href="a02801.html#a3f38a65f805623b272c560a777329069">dwDTFlags</a> &amp; DTF_NEEDSPALETTECHANGED) {</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;                <a class="code" href="a00842.html#a0035e456f12ef530c2b674cd1f6f8b36">xxxSendNotifyMessage</a>((<a class="code" href="a02581.html">PWND</a>)-1,</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;                                     WM_PALETTECHANGED,</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;                                     (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)HWq(pwnd),</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;                                     0);</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;                <a class="code" href="a03257.html#a326757fcfe334f2ffd59d64d4645d37a">grpdeskRitInput</a>-&gt;<a class="code" href="a02801.html#a3f38a65f805623b272c560a777329069">dwDTFlags</a> &amp;= ~DTF_NEEDSPALETTECHANGED;</div>
<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;            }</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;        }</div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160; </div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;    <span class="keywordflow">case</span> WM_FULLSCREEN: {</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;            <a class="code" href="a01881.html">TL</a> tlpwndT;</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160; </div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;            ThreadLockWithPti(ptiCurrent, <a class="code" href="a03257.html#a326757fcfe334f2ffd59d64d4645d37a">grpdeskRitInput</a>-&gt;<a class="code" href="a02801.html#a76d4881aa4c15330103e83a80e6b5dc7">pDeskInfo</a>-&gt;<a class="code" href="a02609.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>, &amp;tlpwndT);</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;            <a class="code" href="a00689.html#aff6a0461c096c5f13235d6537112c084">xxxMakeWindowForegroundWithState</a>(</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;                    <a class="code" href="a03257.html#a326757fcfe334f2ffd59d64d4645d37a">grpdeskRitInput</a>-&gt;<a class="code" href="a02801.html#a76d4881aa4c15330103e83a80e6b5dc7">pDeskInfo</a>-&gt;<a class="code" href="a02609.html#a68937d60a6f49b7a8431db62b38ea721">spwnd</a>, GDIFULLSCREEN);</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;            ThreadUnlock(&amp;tlpwndT);</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160; </div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;<span class="comment">             * We have to tell the switch window to repaint if we switched</span></div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;<span class="comment">             * modes</span></div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;            <span class="keywordflow">if</span> (<a class="code" href="a03257.html#a15b01bf3bf02ba131160e26e97f4abf5">gptiRit</a>-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>-&gt;<a class="code" href="a02869.html#af0a73901f2264cfe048d588810333935">spwndAltTab</a>) {</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;                ThreadLockAlwaysWithPti(ptiCurrent, <a class="code" href="a03257.html#a15b01bf3bf02ba131160e26e97f4abf5">gptiRit</a>-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>-&gt;<a class="code" href="a02869.html#af0a73901f2264cfe048d588810333935">spwndAltTab</a>, &amp;tlpwndT);</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;                <a class="code" href="a00842.html#a69cf2e14dcefd941469ad5126e40f79a">xxxSendMessage</a>(<a class="code" href="a03257.html#a15b01bf3bf02ba131160e26e97f4abf5">gptiRit</a>-&gt;<a class="code" href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">pq</a>-&gt;<a class="code" href="a02869.html#af0a73901f2264cfe048d588810333935">spwndAltTab</a>, WM_FULLSCREEN, 0, 0);</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;                ThreadUnlock(&amp;tlpwndT);</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;            }</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;        }</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160; </div>
<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;    <span class="keywordflow">case</span> WM_CLOSE:</div>
<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160; </div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;<span class="comment">         * Make sure nobody sends this window a WM_CLOSE and causes it to</span></div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;<span class="comment">         * destroy itself.</span></div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160; </div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;    <span class="keywordflow">case</span> WM_SETICON:</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;<span class="comment">         * cannot allow this as it will cause a callback to user mode from the</span></div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;<span class="comment">         * desktop system thread.</span></div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;        <a class="code" href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a>(<a class="code" href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a>, <span class="stringliteral">&quot;WM_ICON sent to desktop window was discarded.\n&quot;</span>) ;</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160; </div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;    <span class="keywordflow">case</span> WM_CREATE:</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;<span class="comment">         * Is there a desktop pattern, or bitmap name in WIN.INI?</span></div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;        <a class="code" href="a00656.html#af47b29c047498d6ee6b2cc134066b323">xxxSetDeskPattern</a>((LPWSTR)-1, TRUE);</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160; </div>
<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;<span class="comment">         * Initialize the system colors before we show the desktop window.</span></div>
<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;        <a class="code" href="a00842.html#a0035e456f12ef530c2b674cd1f6f8b36">xxxSendNotifyMessage</a>(pwnd, WM_SYSCOLORCHANGE, 0, 0L);</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160; </div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;        hdcT = <a class="code" href="a00644.html#a2123a4aeb57f1a00139f7d8ada52b213">_GetDC</a>(pwnd);</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;        <a class="code" href="a00668.html#a2044646df0d91dd1a54a452a069b5365">InternalPaintDesktop</a>(pdeskwnd, hdcT, FALSE); <span class="comment">// use &quot;normal&quot; HDC so SelectPalette() will work</span></div>
<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;        <a class="code" href="a00644.html#a1ec030500a19f775519fbaf16c15f814">_ReleaseDC</a>(hdcT);</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160; </div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;<span class="comment">         * Save process and thread ids.</span></div>
<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;        <a class="code" href="a03242.html#a5fe71cbbe99e9b25808ced78e3bc5b32">xxxSetWindowLong</a>(pwnd,</div>
<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;                         0,</div>
<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;                         (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)PsGetCurrentThread()-&gt;Cid.UniqueProcess,</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;                         FALSE);</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160; </div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;        <a class="code" href="a03242.html#a5fe71cbbe99e9b25808ced78e3bc5b32">xxxSetWindowLong</a>(pwnd,</div>
<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;                         4,</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;                         (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)PsGetCurrentThread()-&gt;Cid.UniqueThread,</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;                         FALSE);</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160; </div>
<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;    <span class="keywordflow">case</span> WM_PALETTECHANGED:</div>
<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;        <span class="keywordflow">if</span> ((<a class="code" href="a03257.html#a94547126eabc26f8894026b2a565736c">ghpalWallpaper</a> || (pwnd-&gt;<a class="code" href="a02581.html#a6be2d067ba15d4ec8cfc2e87922094f5">head</a>.rpdesk-&gt;dwDTFlags &amp; DTF_NEEDSREDRAW)) &amp;&amp;</div>
<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;            (HWq(pwnd) != (HWND)wParam)) {</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160; </div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;            <a class="code" href="a01881.html">TL</a>    tlwndShell;</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;            <a class="code" href="a01881.html">TL</a>    tlwndPal;</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;            <a class="code" href="a02581.html">PWND</a>  pwndShell;</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;            <a class="code" href="a02581.html">PWND</a>  pwndPal;</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;            <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> dwFlags;</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160; </div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;<span class="comment">             * Turn of the need for a redraw.  This is set in DestroyWindow</span></div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;<span class="comment">             * for palette-threads.</span></div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;            pwnd-&gt;<a class="code" href="a02581.html#a6be2d067ba15d4ec8cfc2e87922094f5">head</a>.rpdesk-&gt;dwDTFlags &amp;= ~DTF_NEEDSREDRAW;</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160; </div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;            pwndPal = <a class="code" href="a00365.html#ab993ad57b0d56b4f9b64df02256b611c">HMValidateHandleNoRip</a>((HWND)wParam, TYPE_WINDOW);</div>
<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;            ThreadLockWithPti(ptiCurrent, pwndPal, &amp;tlwndPal);</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160; </div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;<span class="comment">             * We need to invalidate the wallpaper if the palette changed so</span></div>
<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;<span class="comment">             * it is properly redrawn with new colors.</span></div>
<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;            dwFlags = RDW_INVALIDATE | RDW_ERASE;</div>
<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160; </div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;            <span class="keywordflow">if</span> (pwnd-&gt;<a class="code" href="a02581.html#a6be2d067ba15d4ec8cfc2e87922094f5">head</a>.rpdesk-&gt;pDeskInfo-&gt;spwndShell) {</div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;                pwndShell = pwnd-&gt;<a class="code" href="a02581.html#a6be2d067ba15d4ec8cfc2e87922094f5">head</a>.rpdesk-&gt;pDeskInfo-&gt;spwndShell;</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;                dwFlags |= RDW_ALLCHILDREN;</div>
<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;                pwndShell = pwnd;</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;                dwFlags |= RDW_NOCHILDREN;</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;            }</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160; </div>
<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;<span class="comment">             * Redraw the desktop.</span></div>
<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;            ThreadLockAlwaysWithPti(ptiCurrent, pwndShell, &amp;tlwndShell);</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;            <a class="code" href="a00896.html#a487301eed51abdcd2b3920954855e848">xxxRedrawWindow</a>(pwndShell, NULL, NULL, dwFlags);</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;            ThreadUnlock(&amp;tlwndShell);</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160; </div>
<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;            <span class="comment">/*</span></div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;<span class="comment">             * Invalidate iconic windows so their backgrounds draw with the</span></div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;<span class="comment">             * new colors.  To avoid recursion, don&#39;t invalidate the pwnd</span></div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;<span class="comment">             * whose palette is changing.</span></div>
<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;<span class="comment">             */</span></div>
<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;            <a class="code" href="a00656.html#a00a6ebefc61d804dbc4a76eff9aaf721">xxxInvalidateIconicWindows</a>(PWNDDESKTOP(pwnd), pwndPal);</div>
<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;            ThreadUnlock(&amp;tlwndPal);</div>
<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;        }</div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160; </div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;    <span class="keywordflow">case</span> WM_SYSCOLORCHANGE:</div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160; </div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;<span class="comment">         * We do the redrawing if someone has changed the sys-colors from</span></div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;<span class="comment">         * another desktop and we need to redraw.  This is appearent with</span></div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;<span class="comment">         * the MATROX card which requires OGL applications to take over</span></div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;<span class="comment">         * the entire sys-colors for drawing.  When switching desktops, we</span></div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;<span class="comment">         * never broadcast the WM_SYSCOLORCHANGE event to tell us to redraw</span></div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;<span class="comment">         * This is only a DAYTONA related fix, and should be removed once</span></div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;<span class="comment">         * we move the SYSMETS to a per-desktop state.</span></div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;<span class="comment">         *</span></div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;<span class="comment">         * 05-03-95 : ChrisWil.</span></div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;        <a class="code" href="a00896.html#a487301eed51abdcd2b3920954855e848">xxxRedrawWindow</a>(pwnd,</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;                        NULL,</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;                        NULL,</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;                        RDW_INVALIDATE | RDW_ALLCHILDREN | RDW_ERASE);</div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160; </div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;    <span class="keywordflow">case</span> WM_ERASEBKGND:</div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;        hdcT = (HDC)wParam;</div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;        <a class="code" href="a00668.html#a2044646df0d91dd1a54a452a069b5365">InternalPaintDesktop</a>(pdeskwnd, hdcT, TRUE);</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;        <span class="keywordflow">return</span> TRUE;</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160; </div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;    <span class="keywordflow">case</span> WM_PAINT:</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;        <a class="code" href="a00812.html#ac4aad7241d3cc5f490dc17d06b6fe5a0">xxxBeginPaint</a>(pwnd, (LPPAINTSTRUCT)&amp;ps);</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;        <a class="code" href="a00812.html#ac476321da84072ed7dad8a779822a18f">_EndPaint</a>(pwnd, (LPPAINTSTRUCT)&amp;ps);</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160; </div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;    <span class="keywordflow">case</span> WM_LBUTTONDBLCLK:</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160;        message = WM_SYSCOMMAND;</div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;        wParam = SC_TASKLIST;</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160; </div>
<div class="line"><a name="l00717"></a><span class="lineno">  717</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00718"></a><span class="lineno">  718</span>&#160;<span class="comment">         *** FALL THRU **</span></div>
<div class="line"><a name="l00719"></a><span class="lineno">  719</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00720"></a><span class="lineno">  720</span>&#160; </div>
<div class="line"><a name="l00721"></a><span class="lineno">  721</span>&#160;    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00722"></a><span class="lineno">  722</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a>(pwnd, message, wParam, lParam);</div>
<div class="line"><a name="l00723"></a><span class="lineno">  723</span>&#160;    }</div>
<div class="line"><a name="l00724"></a><span class="lineno">  724</span>&#160; </div>
<div class="line"><a name="l00725"></a><span class="lineno">  725</span>&#160;    <span class="keywordflow">return</span> 0L;</div>
<div class="line"><a name="l00726"></a><span class="lineno">  726</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00812_source.html#l00431">_EndPaint()</a>, <a class="el" href="a00644_source.html#l00066">_GetDC()</a>, <a class="el" href="a00644_source.html#l00102">_ReleaseDC()</a>, <a class="el" href="a00656_source.html#l02901">_SetThreadDesktop()</a>, <a class="el" href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock()</a>, <a class="el" href="a00899_source.html#l01712">tagDESKTOP::dwDTFlags</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a03257_source.html#l00027">ghpalWallpaper</a>, <a class="el" href="a03257_source.html#l00125">gpDispInfo</a>, <a class="el" href="a03257_source.html#l00132">gptiRit</a>, <a class="el" href="a03257_source.html#l00187">grpdeskRitInput</a>, <a class="el" href="a00365_source.html#l01566">tagDISPLAYINFO::hdcScreen</a>, <a class="el" href="a00365_source.html#l01389">tagWND::head</a>, <a class="el" href="a03752_source.html#l00303">HMValidateHandleNoRip()</a>, <a class="el" href="a00668_source.html#l01304">InternalPaintDesktop()</a>, <a class="el" href="a00899_source.html#l01706">tagDESKTOP::pDeskInfo</a>, <a class="el" href="a00899_source.html#l02273">tagTHREADINFO::pq</a>, <a class="el" href="a00263_source.html#l00526">PtiCurrent()</a>, <a class="el" href="a00371_source.html#l00029">RIP_WARNING</a>, <a class="el" href="a00371_source.html#l00131">RIPMSG0</a>, <a class="el" href="a00365_source.html#l01603">tagDESKTOPINFO::spwnd</a>, <a class="el" href="a00899_source.html#l02180">tagQ::spwndAltTab</a>, <a class="el" href="a00365_source.html#l01392">tagWND::spwndParent</a>, <a class="el" href="a00812_source.html#l00199">xxxBeginPaint()</a>, <a class="el" href="a00671_source.html#l01146">xxxDefWindowProc()</a>, <a class="el" href="a00656_source.html#l00459">xxxInvalidateIconicWindows()</a>, <a class="el" href="a00689_source.html#l00140">xxxMakeWindowForegroundWithState()</a>, <a class="el" href="a00896_source.html#l00302">xxxRedrawWindow()</a>, <a class="el" href="a00842_source.html#l00613">xxxSendMessage()</a>, <a class="el" href="a00842_source.html#l00968">xxxSendNotifyMessage()</a>, <a class="el" href="a00656_source.html#l00738">xxxSetDeskPattern()</a> , 以及 <a class="el" href="a03242_source.html#l00256">xxxSetWindowLong()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00629_source.html#l00182">_WOWCleanup()</a>, <a class="el" href="a03665_source.html#l00928">InitFunctionTables()</a> , 以及 <a class="el" href="a00719_source.html#l01070">LW_RegisterWindows()</a>.</p>

</div>
</div>
<a id="a8f1a55755a2fae46af022e1bf4d70b8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f1a55755a2fae46af022e1bf4d70b8a">&#9670;&nbsp;</a></span>xxxUnusedFunctionId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xxxUnusedFunctionId </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>xParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00657">657</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;{</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;    <a class="code" href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a>(FALSE);</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;    <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00950_source.html#l00117">UserAssert</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l00928">InitFunctionTables()</a>.</p>

</div>
</div>
<a id="a96dcfc3928d47e43714c9449327c3e2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96dcfc3928d47e43714c9449327c3e2a">&#9670;&nbsp;</a></span>xxxWrapCallNextHookEx()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xxxWrapCallNextHookEx </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>xParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00623">623</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;{</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a00701.html#a5548e662d1d7d54b180f412e415fc70c">xxxCallNextHookEx</a>((<span class="keywordtype">int</span>)pwnd, message, wParam);</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00701_source.html#l00711">xxxCallNextHookEx()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l00928">InitFunctionTables()</a>.</p>

</div>
</div>
<a id="a0c77f1446af6dfc359fe36b30def501f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c77f1446af6dfc359fe36b30def501f">&#9670;&nbsp;</a></span>xxxWrapCallWindowProc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xxxWrapCallWindowProc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>xParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00678">678</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;{</div>
<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;    <a class="code" href="a02557.html">PCALLPROCDATA</a> pCPD;</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;    <a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>         dwRet = 0;</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160; </div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;    <span class="keywordflow">if</span> (pCPD = <a class="code" href="a00365.html#ab993ad57b0d56b4f9b64df02256b611c">HMValidateHandleNoRip</a>((PVOID)xParam, TYPE_CALLPROC)) {</div>
<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160; </div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;        dwRet = ScSendMessage(pwnd,</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;                              message,</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;                              wParam,</div>
<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;                              lParam,</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;                              pCPD-&gt;<a class="code" href="a02557.html#a3edd15123eefa8ad8e6ad3a87c7e6b96">pfnClientPrevious</a>,</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;                              <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#a6f4de7f11f44318feef70149fa2d31cc">apfnClientW</a>.<a class="code" href="a02501.html#aa8d047fb3797fd6b520383ee297357bf">pfnDispatchMessage</a>,</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;                              (pCPD-&gt;<a class="code" href="a02557.html#aedf49a5424d4d9ad2cf1817a726c165f">wType</a> &amp; CPD_UNICODE_TO_ANSI) ?</div>
<div class="line"><a name="l00697"></a><span class="lineno">  697</span>&#160;                                      SCMS_FLAGS_ANSI : 0);</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160; </div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160; </div>
<div class="line"><a name="l00701"></a><span class="lineno">  701</span>&#160;        <span class="comment">/*</span></div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;<span class="comment">         * If it is not a real call proc handle it must be a special</span></div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;<span class="comment">         * handler for editwndproc or regular EditWndProc</span></div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;<span class="comment">         */</span></div>
<div class="line"><a name="l00705"></a><span class="lineno">  705</span>&#160;        dwRet = ScSendMessage(pwnd,</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;                              message,</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;                              wParam,</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;                              lParam,</div>
<div class="line"><a name="l00709"></a><span class="lineno">  709</span>&#160;                              xParam,</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;                              <a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ab72cd487b50bf4603821a822f4b66374">apfnClientA</a>.<a class="code" href="a02501.html#aa8d047fb3797fd6b520383ee297357bf">pfnDispatchMessage</a>,</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;                              (xParam == (<a class="code" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>)<a class="code" href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a>-&gt;<a class="code" href="a02513.html#ab72cd487b50bf4603821a822f4b66374">apfnClientA</a>.<a class="code" href="a02501.html#ab0a3def4cca7c012a7dcd51bdbbb19bb">pfnEditWndProc</a>) ?</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;                                      SCMS_FLAGS_ANSI : 0);</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;    }</div>
<div class="line"><a name="l00714"></a><span class="lineno">  714</span>&#160; </div>
<div class="line"><a name="l00715"></a><span class="lineno">  715</span>&#160;    <span class="keywordflow">return</span> dwRet;</div>
<div class="line"><a name="l00716"></a><span class="lineno">  716</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00365_source.html#l00965">tagSERVERINFO::apfnClientA</a>, <a class="el" href="a00365_source.html#l00966">tagSERVERINFO::apfnClientW</a>, <a class="el" href="a00563_source.html#l00175">DWORD</a>, <a class="el" href="a00020_source.html#l00039">gpsi</a>, <a class="el" href="a03752_source.html#l00303">HMValidateHandleNoRip()</a>, <a class="el" href="a00365_source.html#l01250">_CALLPROCDATA::pfnClientPrevious</a>, <a class="el" href="a00365_source.html#l00752">_PFNCLIENT::pfnDispatchMessage</a>, <a class="el" href="a00365_source.html#l00739">_PFNCLIENT::pfnEditWndProc</a> , 以及 <a class="el" href="a00365_source.html#l01251">_CALLPROCDATA::wType</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l00928">InitFunctionTables()</a>.</p>

</div>
</div>
<a id="a25f3d85db4c4fb494b12ec71e890df57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25f3d85db4c4fb494b12ec71e890df57">&#9670;&nbsp;</a></span>xxxWrapSendMessage()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a> xxxWrapSendMessage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00365.html#a1a2ef1c363aa0787a8f8a7dde2a34aaf">PWND</a>&#160;</td>
          <td class="paramname"><em>pwnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a>&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>wParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">LONG&#160;</td>
          <td class="paramname"><em>lParam</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a>&#160;</td>
          <td class="paramname"><em>xParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00633">633</a> 行定义.</p>
<div class="fragment"><div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;{</div>
<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="a00842.html#a4bbe3674acd8620c7d8cf43d282241c0">xxxSendMessageTimeout</a>(pwnd,</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;                                 message,</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;                                 wParam,</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;                                 lParam,</div>
<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;                                 SMTO_NORMAL,</div>
<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;                                 0,</div>
<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;                                 NULL);</div>
<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;}</div>
</div><!-- fragment -->
<p class="reference">引用了 <a class="el" href="a00842_source.html#l00644">xxxSendMessageTimeout()</a>.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l00928">InitFunctionTables()</a>.</p>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="a8be2fab434aca43527f8263c8877587b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8be2fab434aca43527f8263c8877587b">&#9670;&nbsp;</a></span>gawButtonWndProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawButtonWndProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00191">191</a> 行定义.</p>

</div>
</div>
<a id="a46eb15bd807ca2852ec0251d6ebdb83d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a46eb15bd807ca2852ec0251d6ebdb83d">&#9670;&nbsp;</a></span>gawComboWndProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawComboWndProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00313">313</a> 行定义.</p>

</div>
</div>
<a id="a6a5ee0617a05240a7df7304b26758cc7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a5ee0617a05240a7df7304b26758cc7">&#9670;&nbsp;</a></span>gawDefDlgProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawDefDlgProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00075">75</a> 行定义.</p>

</div>
</div>
<a id="a2e19b19b2f421c2f425ab3072a15a363"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e19b19b2f421c2f425ab3072a15a363">&#9670;&nbsp;</a></span>gawDefWindowMsgs</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawDefWindowMsgs[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00504">504</a> 行定义.</p>

</div>
</div>
<a id="a7a615163c8cad9a6f26d78e71307c4e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a615163c8cad9a6f26d78e71307c4e4">&#9670;&nbsp;</a></span>gawDefWindowSpecMsgs</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawDefWindowSpecMsgs[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00552">552</a> 行定义.</p>

</div>
</div>
<a id="a429ad38ba1a192ed825e868767c834b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a429ad38ba1a192ed825e868767c834b0">&#9670;&nbsp;</a></span>gawDesktopWndProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawDesktopWndProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    WM_PAINT,</div>
<div class="line">    WM_ERASEBKGND,</div>
<div class="line">    0</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00137">137</a> 行定义.</p>

</div>
</div>
<a id="ae53908e152db7d5eca564effa168be94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae53908e152db7d5eca564effa168be94">&#9670;&nbsp;</a></span>gawEditWndProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawEditWndProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00398">398</a> 行定义.</p>

</div>
</div>
<a id="acc7867889c63012b50c67102486e7530"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acc7867889c63012b50c67102486e7530">&#9670;&nbsp;</a></span>gawListboxWndProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawListboxWndProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00226">226</a> 行定义.</p>

</div>
</div>
<a id="a2067a75b4d96d5b2a8ea02880e5605d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2067a75b4d96d5b2a8ea02880e5605d2">&#9670;&nbsp;</a></span>gawMenuWndProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawMenuWndProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    WM_CREATE,</div>
<div class="line">    WM_FINALDESTROY,</div>
<div class="line">    WM_PAINT,</div>
<div class="line">    WM_CHAR,</div>
<div class="line">    WM_SYSCHAR,</div>
<div class="line">    WM_KEYDOWN,</div>
<div class="line">    WM_SYSKEYDOWN,</div>
<div class="line">    WM_TIMER,</div>
<div class="line">    MN_SETHMENU,</div>
<div class="line">    MN_SIZEWINDOW,</div>
<div class="line">    MN_OPENHIERARCHY,</div>
<div class="line">    MN_CLOSEHIERARCHY,</div>
<div class="line">    MN_SELECTITEM,</div>
<div class="line">    MN_SELECTFIRSTVALIDITEM,</div>
<div class="line">    MN_CANCELMENUS,</div>
<div class="line">    MN_FINDMENUWINDOWFROMPOINT,</div>
<div class="line">    MN_SHOWPOPUPWINDOW,</div>
<div class="line">    MN_BUTTONDOWN,</div>
<div class="line">    MN_MOUSEMOVE,</div>
<div class="line">    MN_BUTTONUP,</div>
<div class="line">    MN_SETTIMERTOOPENHIERARCHY,</div>
<div class="line">    WM_ACTIVATE,</div>
<div class="line">    MN_GETHMENU,</div>
<div class="line">    MN_DBLCLK,</div>
<div class="line">    0</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00109">109</a> 行定义.</p>

</div>
</div>
<a id="aa137631ab00256e3d1408b092142c1c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa137631ab00256e3d1408b092142c1c3">&#9670;&nbsp;</a></span>gawScrollBarWndProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawScrollBarWndProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    WM_CREATE,</div>
<div class="line">    WM_SETFOCUS,</div>
<div class="line">    WM_KILLFOCUS,</div>
<div class="line">    WM_ERASEBKGND,</div>
<div class="line">    WM_PAINT,</div>
<div class="line">    WM_LBUTTONDBLCLK,</div>
<div class="line">    WM_LBUTTONDOWN,</div>
<div class="line">    WM_KEYUP,</div>
<div class="line">    WM_KEYDOWN,</div>
<div class="line">    WM_ENABLE,</div>
<div class="line">    SBM_ENABLE_ARROWS,</div>
<div class="line">    SBM_SETPOS,</div>
<div class="line">    SBM_SETRANGEREDRAW,</div>
<div class="line">    SBM_SETRANGE,</div>
<div class="line">    SBM_SETSCROLLINFO,</div>
<div class="line">    SBM_GETSCROLLINFO,</div>
<div class="line">    WM_PRINTCLIENT,</div>
<div class="line">    0</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00143">143</a> 行定义.</p>

</div>
</div>
<a id="a2c26eabdb14f422038ad0908fea3101b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c26eabdb14f422038ad0908fea3101b">&#9670;&nbsp;</a></span>gawStaticWndProc</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CONST WORD gawStaticWndProc[]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>初始值:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    STM_GETICON,</div>
<div class="line">    STM_GETIMAGE,</div>
<div class="line">    STM_SETICON,</div>
<div class="line">    STM_SETIMAGE,</div>
<div class="line">    WM_ERASEBKGND,</div>
<div class="line">    WM_PAINT,</div>
<div class="line">    WM_CREATE,</div>
<div class="line">    WM_DESTROY,</div>
<div class="line">    WM_NCCREATE,</div>
<div class="line">    WM_NCDESTROY,</div>
<div class="line">    WM_FINALDESTROY,</div>
<div class="line">    WM_NCHITTEST,</div>
<div class="line">    WM_LBUTTONDOWN,</div>
<div class="line">    WM_NCLBUTTONDOWN,</div>
<div class="line">    WM_LBUTTONDBLCLK,</div>
<div class="line">    WM_NCLBUTTONDBLCLK,</div>
<div class="line">    WM_SETTEXT,</div>
<div class="line">    WM_ENABLE,</div>
<div class="line">    WM_GETDLGCODE,</div>
<div class="line">    WM_SETFONT,</div>
<div class="line">    WM_GETFONT,</div>
<div class="line">    WM_GETTEXT,</div>
<div class="line">    WM_TIMER,</div>
<div class="line">    0</div>
<div class="line">}</div>
</div><!-- fragment -->
<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00164">164</a> 行定义.</p>

</div>
</div>
<a id="add12a181e4a8f7a43675b95a36cfa85b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add12a181e4a8f7a43675b95a36cfa85b">&#9670;&nbsp;</a></span>gpfnDebugAttachRoutine</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FARPROC gpfnDebugAttachRoutine</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00022">22</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l02091">NtUserInitialize()</a>.</p>

</div>
</div>
<a id="ac17fa43589ff35c4d79cb36e113168d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac17fa43589ff35c4d79cb36e113168d0">&#9670;&nbsp;</a></span>szBUTTONCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szBUTTONCLASS = TEXT(&quot;Button&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00039">39</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="af7c7ce2e11f161ac4e642f9732065600"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7c7ce2e11f161ac4e642f9732065600">&#9670;&nbsp;</a></span>szCOMBOBOXCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szCOMBOBOXCLASS = TEXT(&quot;ComboBox&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00044">44</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a13b185a06b3c04ed8425c9448a258aa8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a13b185a06b3c04ed8425c9448a258aa8">&#9670;&nbsp;</a></span>szCOMBOLISTBOXCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szCOMBOLISTBOXCLASS = TEXT(&quot;ComboLBox&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00043">43</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="af610492c75647be75debb5a139a52bb4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af610492c75647be75debb5a139a52bb4">&#9670;&nbsp;</a></span>szDDEML16BITCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szDDEML16BITCLASS = TEXT(&quot;DMGClass&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00048">48</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a0ae082bbea04311a60dd8c068b385843"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ae082bbea04311a60dd8c068b385843">&#9670;&nbsp;</a></span>szDDEMLCLIENTCLASSA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szDDEMLCLIENTCLASSA = L&quot;DDEMLAnsiClient&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00051">51</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00035_source.html#l00417">RW_RegisterDDEMLClient()</a> , 以及 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a49c4010b3158a12245b899d3da3bef05"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49c4010b3158a12245b899d3da3bef05">&#9670;&nbsp;</a></span>szDDEMLCLIENTCLASSW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szDDEMLCLIENTCLASSW = L&quot;DDEMLUnicodeClient&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00049">49</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a5f25f213e6a5992c8db55068b9f13875"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f25f213e6a5992c8db55068b9f13875">&#9670;&nbsp;</a></span>szDDEMLEVENTCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szDDEMLEVENTCLASS = TEXT(&quot;DDEMLEvent&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00046">46</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a> , 以及 <a class="el" href="a00719_source.html#l00324">xxxInitWinStaDevices()</a>.</p>

</div>
</div>
<a id="a466c8bf9703eca2f411023af3153a165"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a466c8bf9703eca2f411023af3153a165">&#9670;&nbsp;</a></span>szDDEMLMOTHERCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szDDEMLMOTHERCLASS = TEXT(&quot;DDEMLMom&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00047">47</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00035_source.html#l00384">RW_RegisterDDEMLMother()</a> , 以及 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="af55e78226a1eab4e95cd36f25db6cfb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af55e78226a1eab4e95cd36f25db6cfb6">&#9670;&nbsp;</a></span>szDDEMLSERVERCLASSA</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szDDEMLSERVERCLASSA = L&quot;DDEMLAnsiServer&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00052">52</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a00035_source.html#l00473">RW_RegisterDDEMLServer()</a> , 以及 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a157b3c92a59ba251347df35e34110837"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a157b3c92a59ba251347df35e34110837">&#9670;&nbsp;</a></span>szDDEMLSERVERCLASSW</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szDDEMLSERVERCLASSW = L&quot;DDEMLUnicodeServer&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00050">50</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a6e7b077bea590abecbf03bbdcc500682"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e7b077bea590abecbf03bbdcc500682">&#9670;&nbsp;</a></span>szEDITCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szEDITCLASS = TEXT(&quot;Edit&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00038">38</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="a3592e492650aea4e68e9dc0d80eb6ae1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3592e492650aea4e68e9dc0d80eb6ae1">&#9670;&nbsp;</a></span>szLISTBOXCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szLISTBOXCLASS = TEXT(&quot;ListBox&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00041">41</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="ac0a2d616779ca7ea6411c25a2df562f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0a2d616779ca7ea6411c25a2df562f8">&#9670;&nbsp;</a></span>szMDICLIENTCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szMDICLIENTCLASS = TEXT(&quot;MDIClient&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00045">45</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="ae722290307af71f89f82600895ca3a14"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae722290307af71f89f82600895ca3a14">&#9670;&nbsp;</a></span>szSCROLLBARCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szSCROLLBARCLASS = TEXT(&quot;ScrollBar&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00042">42</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
<a id="af88583c92947d9e7bbec6876b8fdb101"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af88583c92947d9e7bbec6876b8fdb101">&#9670;&nbsp;</a></span>szSTATICCLASS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LPCWSTR szSTATICCLASS = TEXT(&quot;Static&quot;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="a03665_source.html">kernel/server.c</a> 第 <a class="el" href="a03665_source.html#l00040">40</a> 行定义.</p>

<p class="reference">被这些函数引用 <a class="el" href="a03665_source.html#l01691">UserInitialize()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aa02513_html_a297eef4221acb86fc35448c199c3076b"><div class="ttname"><a href="a02513.html#a297eef4221acb86fc35448c199c3076b">tagSERVERINFO::uiShellMsg</a></div><div class="ttdeci">UINT uiShellMsg</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01009">user.h:1009</a></div></div>
<div class="ttc" id="aa02889_html_ae8b869ec5b101646649020f5b0fd5d0d"><div class="ttname"><a href="a02889.html#ae8b869ec5b101646649020f5b0fd5d0d">tagTHREADINFO::TIF_flags</a></div><div class="ttdeci">DWORD TIF_flags</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02294">userk.h:2294</a></div></div>
<div class="ttc" id="aa00842_html_a0035e456f12ef530c2b674cd1f6f8b36"><div class="ttname"><a href="a00842.html#a0035e456f12ef530c2b674cd1f6f8b36">xxxSendNotifyMessage</a></div><div class="ttdeci">BOOL xxxSendNotifyMessage(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00842_source.html#l00968">sendmsg.c:968</a></div></div>
<div class="ttc" id="aa03665_html_a0ae082bbea04311a60dd8c068b385843"><div class="ttname"><a href="a03665.html#a0ae082bbea04311a60dd8c068b385843">szDDEMLCLIENTCLASSA</a></div><div class="ttdeci">LPCWSTR szDDEMLCLIENTCLASSA</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00051">kernel/server.c:51</a></div></div>
<div class="ttc" id="aa00371_html_a01c4659626880ba56745765a3580a36b"><div class="ttname"><a href="a00371.html#a01c4659626880ba56745765a3580a36b">RIPMSG0</a></div><div class="ttdeci">#define RIPMSG0(flags, szFmt)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00131">winerrp.h:131</a></div></div>
<div class="ttc" id="aa00842_html_a5225380d7fdc18b2708bfee0ec46801a"><div class="ttname"><a href="a00842.html#a5225380d7fdc18b2708bfee0ec46801a">xxxSendMessageBSM</a></div><div class="ttdeci">LONG xxxSendMessageBSM(PWND pwnd, UINT message, DWORD wParam, LONG lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00842_source.html#l00407">sendmsg.c:407</a></div></div>
<div class="ttc" id="aa03665_html_a0c77f1446af6dfc359fe36b30def501f"><div class="ttname"><a href="a03665.html#a0c77f1446af6dfc359fe36b30def501f">xxxWrapCallWindowProc</a></div><div class="ttdeci">DWORD xxxWrapCallWindowProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00678">kernel/server.c:678</a></div></div>
<div class="ttc" id="aa00824_html_a20d4e3ea15f4d047785697f4c14e94c7"><div class="ttname"><a href="a00824.html#a20d4e3ea15f4d047785697f4c14e94c7">InitProcessInfo</a></div><div class="ttdeci">BOOL InitProcessInfo(PW32PROCESS pwp)</div><div class="ttdef"><b>Definition:</b> <a href="a00824_source.html#l03534">queue.c:3534</a></div></div>
<div class="ttc" id="aa03665_html_a5f25f213e6a5992c8db55068b9f13875"><div class="ttname"><a href="a03665.html#a5f25f213e6a5992c8db55068b9f13875">szDDEMLEVENTCLASS</a></div><div class="ttdeci">LPCWSTR szDDEMLEVENTCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00046">kernel/server.c:46</a></div></div>
<div class="ttc" id="aa03257_html_ad7b3068ea50c4d2757c1b3e12f921b3f"><div class="ttname"><a href="a03257.html#ad7b3068ea50c4d2757c1b3e12f921b3f">atomUSER32</a></div><div class="ttdeci">ATOM atomUSER32</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00277">kernel/globals.c:277</a></div></div>
<div class="ttc" id="aa02605_html_a7ae1e4da76ad52e90f87fe39f43b2c4f"><div class="ttname"><a href="a02605.html#a7ae1e4da76ad52e90f87fe39f43b2c4f">tagDISPLAYINFO::rcPrimaryScreen</a></div><div class="ttdeci">RECT rcPrimaryScreen</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01571">user.h:1571</a></div></div>
<div class="ttc" id="aa03257_html_a94547126eabc26f8894026b2a565736c"><div class="ttname"><a href="a03257.html#a94547126eabc26f8894026b2a565736c">ghpalWallpaper</a></div><div class="ttdeci">HPALETTE ghpalWallpaper</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00027">kernel/globals.c:27</a></div></div>
<div class="ttc" id="aa02481_html_abc90dffe60e7fab170e81a8af1b6f322"><div class="ttname"><a href="a02481.html#abc90dffe60e7fab170e81a8af1b6f322">tagDISPLAYRESOURCE::xCompressCursor</a></div><div class="ttdeci">WORD xCompressCursor</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00456">user.h:456</a></div></div>
<div class="ttc" id="aa03266_html_a82304bb979726869e03aca1d1d4180dd"><div class="ttname"><a href="a03266.html#a82304bb979726869e03aca1d1d4180dd">Win32KBaseAddress</a></div><div class="ttdeci">PVOID Win32KBaseAddress</div></div>
<div class="ttc" id="aa03665_html_a157b3c92a59ba251347df35e34110837"><div class="ttname"><a href="a03665.html#a157b3c92a59ba251347df35e34110837">szDDEMLSERVERCLASSW</a></div><div class="ttdeci">LPCWSTR szDDEMLSERVERCLASSW</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00050">kernel/server.c:50</a></div></div>
<div class="ttc" id="aa03665_html_a6e7b077bea590abecbf03bbdcc500682"><div class="ttname"><a href="a03665.html#a6e7b077bea590abecbf03bbdcc500682">szEDITCLASS</a></div><div class="ttdeci">LPCWSTR szEDITCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00038">kernel/server.c:38</a></div></div>
<div class="ttc" id="aa02521_html_a47f087b8951b9b7e7ce38300b67c1c6f"><div class="ttname"><a href="a02521.html#a47f087b8951b9b7e7ce38300b67c1c6f">tagSHAREDINFO::DefWindowMsgs</a></div><div class="ttdeci">WNDMSG DefWindowMsgs</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01070">user.h:1070</a></div></div>
<div class="ttc" id="aa00896_html_a487301eed51abdcd2b3920954855e848"><div class="ttname"><a href="a00896.html#a487301eed51abdcd2b3920954855e848">xxxRedrawWindow</a></div><div class="ttdeci">BOOL xxxRedrawWindow(PWND pwnd, LPRECT lprcUpdate, HRGN hrgnUpdate, DWORD flags)</div><div class="ttdef"><b>Definition:</b> <a href="a00896_source.html#l00302">update.c:302</a></div></div>
<div class="ttc" id="aa03257_html_a8a4f1c3ddfb24eb8c891a2b049042912"><div class="ttname"><a href="a03257.html#a8a4f1c3ddfb24eb8c891a2b049042912">atomDDETrack</a></div><div class="ttdeci">ATOM atomDDETrack</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00274">kernel/globals.c:274</a></div></div>
<div class="ttc" id="aa00365_html_a6607168cd24200c8c13a1f74220a63c9"><div class="ttname"><a href="a00365.html#a6607168cd24200c8c13a1f74220a63c9">PUSERCONNECT</a></div><div class="ttdeci">struct _USERCONNECT * PUSERCONNECT</div></div>
<div class="ttc" id="aa03257_html_a333e3ab0aeefbd49df4da9480fff5eb9"><div class="ttname"><a href="a03257.html#a333e3ab0aeefbd49df4da9480fff5eb9">gpReadOnlySharedSectionBase</a></div><div class="ttdeci">PVOID gpReadOnlySharedSectionBase</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00053">kernel/globals.c:53</a></div></div>
<div class="ttc" id="aa00656_html_af47b29c047498d6ee6b2cc134066b323"><div class="ttname"><a href="a00656.html#af47b29c047498d6ee6b2cc134066b323">xxxSetDeskPattern</a></div><div class="ttdeci">BOOL xxxSetDeskPattern(LPWSTR lpszPattern, BOOL fCreation)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l00738">desktop.c:738</a></div></div>
<div class="ttc" id="aa03590_html_abd0a994cec57d6310414c9849f2424a2"><div class="ttname"><a href="a03590.html#abd0a994cec57d6310414c9849f2424a2">xxxMenuWindowProc</a></div><div class="ttdeci">LONG xxxMenuWindowProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a03590_source.html#l02538">kernel/menu.c:2538</a></div></div>
<div class="ttc" id="aa03665_html_a491331f7155abd51915fbfc0afedaf2a"><div class="ttname"><a href="a03665.html#a491331f7155abd51915fbfc0afedaf2a">USRINIT_SHAREDSECT_BUFF_SIZE</a></div><div class="ttdeci">#define USRINIT_SHAREDSECT_BUFF_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00035">kernel/server.c:35</a></div></div>
<div class="ttc" id="aa02553_html"><div class="ttname"><a href="a02553.html">_HANDLEENTRY</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01165">user.h:1165</a></div></div>
<div class="ttc" id="aa00899_html_a2f668d8ee2069624ac37586c493362b0"><div class="ttname"><a href="a00899.html#a2f668d8ee2069624ac37586c493362b0">MENUWND</a></div><div class="ttdeci">struct tagMENUWND MENUWND</div></div>
<div class="ttc" id="aa00899_html_ae451a2dc8791c420d7c956a63adc33ba"><div class="ttname"><a href="a00899.html#ae451a2dc8791c420d7c956a63adc33ba">EnterCrit</a></div><div class="ttdeci">VOID EnterCrit(VOID)</div></div>
<div class="ttc" id="aa00695_html_a7da01a4fca392b6cbf8dbe046861b9da"><div class="ttname"><a href="a00695.html#a7da01a4fca392b6cbf8dbe046861b9da">HMInitHandleTable</a></div><div class="ttdeci">BOOL HMInitHandleTable(PVOID pReadOnlySharedSectionBase)</div><div class="ttdef"><b>Definition:</b> <a href="a00695_source.html#l00117">handtabl.c:117</a></div></div>
<div class="ttc" id="aa02525_html_a2187cc6f44107654768fe5c6f9c37ac3"><div class="ttname"><a href="a02525.html#a2187cc6f44107654768fe5c6f9c37ac3">_USERCONNECT::ulVersion</a></div><div class="ttdeci">IN ULONG ulVersion</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01075">user.h:1075</a></div></div>
<div class="ttc" id="aa02557_html_aedf49a5424d4d9ad2cf1817a726c165f"><div class="ttname"><a href="a02557.html#aedf49a5424d4d9ad2cf1817a726c165f">_CALLPROCDATA::wType</a></div><div class="ttdeci">WORD wType</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01251">user.h:1251</a></div></div>
<div class="ttc" id="aa03263_html_ab55bcf13c45e6055491901b6617a930c"><div class="ttname"><a href="a03263.html#ab55bcf13c45e6055491901b6617a930c">gapfnScSendMessage</a></div><div class="ttdeci">CONST CFNSCSENDMESSAGE gapfnScSendMessage[]</div><div class="ttdef"><b>Definition:</b> <a href="a00350_source.html#l00016">messages.h:16</a></div></div>
<div class="ttc" id="aa03257_html_af4453d09007e4f5fe8c780d14d701a1a"><div class="ttname"><a href="a03257.html#af4453d09007e4f5fe8c780d14d701a1a">atomDDEImp</a></div><div class="ttdeci">ATOM atomDDEImp</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00276">kernel/globals.c:276</a></div></div>
<div class="ttc" id="aa02909_html_acc6792141787aadc4d90abe018db1e02"><div class="ttname"><a href="a02909.html#acc6792141787aadc4d90abe018db1e02">tagDCE::hdc</a></div><div class="ttdeci">HDC hdc</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02460">userk.h:2460</a></div></div>
<div class="ttc" id="aa00656_html_a02f3707bdf26cc51a2b852ba3dc46fd1"><div class="ttname"><a href="a00656.html#a02f3707bdf26cc51a2b852ba3dc46fd1">ParseDesktop</a></div><div class="ttdeci">NTSTATUS ParseDesktop(PVOID pContainerObject, POBJECT_TYPE pObjectType, PACCESS_STATE pAccessState, KPROCESSOR_MODE AccessMode, ULONG Attributes, PUNICODE_STRING pstrCompleteName, PUNICODE_STRING pstrRemainingName, PVOID Context, PSECURITY_QUALITY_OF_SERVICE pqos, PVOID *pObject)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l01596">desktop.c:1596</a></div></div>
<div class="ttc" id="aa03665_html_a918fc1eb1f0165782d6642f0ecea5c90"><div class="ttname"><a href="a03665.html#a918fc1eb1f0165782d6642f0ecea5c90">CALC_DELTA</a></div><div class="ttdeci">#define CALC_DELTA(element)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01488">kernel/server.c:1488</a></div></div>
<div class="ttc" id="aa02481_html_a617d74a2e5ca8b93cf3efb3eca065311"><div class="ttname"><a href="a02481.html#a617d74a2e5ca8b93cf3efb3eca065311">tagDISPLAYRESOURCE::cxBorder</a></div><div class="ttdeci">WORD cxBorder</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00459">user.h:459</a></div></div>
<div class="ttc" id="aa03665_html_a9ff56fde8aa3ae5a677e3f962782bd74"><div class="ttname"><a href="a03665.html#a9ff56fde8aa3ae5a677e3f962782bd74">InitWindowMsgTable</a></div><div class="ttdeci">VOID InitWindowMsgTable(PBYTE *ppbyte, PUINT pmax, CONST WORD *pw)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00896">kernel/server.c:896</a></div></div>
<div class="ttc" id="aa03665_html_add12a181e4a8f7a43675b95a36cfa85b"><div class="ttname"><a href="a03665.html#add12a181e4a8f7a43675b95a36cfa85b">gpfnDebugAttachRoutine</a></div><div class="ttdeci">FARPROC gpfnDebugAttachRoutine</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00022">kernel/server.c:22</a></div></div>
<div class="ttc" id="aa00563_html_a7b9b0ae15722c1f5e47208b05166acf3"><div class="ttname"><a href="a00563.html#a7b9b0ae15722c1f5e47208b05166acf3">type</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n type</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00068">exts.h:68</a></div></div>
<div class="ttc" id="aa02481_html_ab06fe1830622e9e508f2eacddbbee994"><div class="ttname"><a href="a02481.html#ab06fe1830622e9e508f2eacddbbee994">tagDISPLAYRESOURCE::yKanji</a></div><div class="ttdeci">WORD yKanji</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00458">user.h:458</a></div></div>
<div class="ttc" id="aa03665_html_adf8abf36ba0d730b8ee779c51d042b4c"><div class="ttname"><a href="a03665.html#adf8abf36ba0d730b8ee779c51d042b4c">InitOLEFormats</a></div><div class="ttdeci">VOID InitOLEFormats(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01111">kernel/server.c:1111</a></div></div>
<div class="ttc" id="aa00671_html_af0a7cefc146c51b12208e692b0f67960"><div class="ttname"><a href="a00671.html#af0a7cefc146c51b12208e692b0f67960">xxxDefWindowProc</a></div><div class="ttdeci">LONG xxxDefWindowProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00671_source.html#l01146">dwp.c:1146</a></div></div>
<div class="ttc" id="aa02801_html"><div class="ttname"><a href="a02801.html">tagDESKTOP</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01703">userk.h:1703</a></div></div>
<div class="ttc" id="aa00899_html_a3e4266cb34d269da6b269dc90d5ceb10"><div class="ttname"><a href="a00899.html#a3e4266cb34d269da6b269dc90d5ceb10">PDESKWND</a></div><div class="ttdeci">struct tagDESKWND * PDESKWND</div></div>
<div class="ttc" id="aa03665_html_ae4eaf02d7e71b99ea472ad35fc41d2c5"><div class="ttname"><a href="a03665.html#ae4eaf02d7e71b99ea472ad35fc41d2c5">InitGlobalRIPFlags</a></div><div class="ttdeci">VOID InitGlobalRIPFlags(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01160">kernel/server.c:1160</a></div></div>
<div class="ttc" id="aa00020_html_adeb42abe763d9eaa7e651e1d8accdb66"><div class="ttname"><a href="a00020.html#adeb42abe763d9eaa7e651e1d8accdb66">szUSER32</a></div><div class="ttdeci">WCHAR szUSER32[]</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00050">clglobal.c:50</a></div></div>
<div class="ttc" id="aa00371_html_ad6b24a3d61abdc148c8751b5c5add686"><div class="ttname"><a href="a00371.html#ad6b24a3d61abdc148c8751b5c5add686">RIP_VERBOSE</a></div><div class="ttdeci">#define RIP_VERBOSE</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00030">winerrp.h:30</a></div></div>
<div class="ttc" id="aa00824_html_a6a7fb4f365d4d2e1262f9393629e17be"><div class="ttname"><a href="a00824.html#a6a7fb4f365d4d2e1262f9393629e17be">DestroyProcessInfo</a></div><div class="ttdeci">BOOL DestroyProcessInfo(PW32PROCESS pwp)</div><div class="ttdef"><b>Definition:</b> <a href="a00824_source.html#l03596">queue.c:3596</a></div></div>
<div class="ttc" id="aa02801_html_a76d4881aa4c15330103e83a80e6b5dc7"><div class="ttname"><a href="a02801.html#a76d4881aa4c15330103e83a80e6b5dc7">tagDESKTOP::pDeskInfo</a></div><div class="ttdeci">PDESKTOPINFO pDeskInfo</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01706">userk.h:1706</a></div></div>
<div class="ttc" id="aa02605_html_af0da313e582dc95c2853349086631cd8"><div class="ttname"><a href="a02605.html#af0da313e582dc95c2853349086631cd8">tagDISPLAYINFO::hdcScreen</a></div><div class="ttdeci">HDC hdcScreen</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01566">user.h:1566</a></div></div>
<div class="ttc" id="aa03257_html_ab302ed5096d732e53f944c97b8321ba0"><div class="ttname"><a href="a03257.html#ab302ed5096d732e53f944c97b8321ba0">giheLast</a></div><div class="ttdeci">DWORD giheLast</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00065">kernel/globals.c:65</a></div></div>
<div class="ttc" id="aa00701_html_a5548e662d1d7d54b180f412e415fc70c"><div class="ttname"><a href="a00701.html#a5548e662d1d7d54b180f412e415fc70c">xxxCallNextHookEx</a></div><div class="ttdeci">DWORD xxxCallNextHookEx(int nCode, DWORD wParam, DWORD lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00701_source.html#l00711">hooks.c:711</a></div></div>
<div class="ttc" id="aa00605_html_a81c7d36eed2002f8a36cbed8d4ceffcc"><div class="ttname"><a href="a00605.html#a81c7d36eed2002f8a36cbed8d4ceffcc">UserRtlCreateAtomTable</a></div><div class="ttdeci">NTSTATUS UserRtlCreateAtomTable(IN ULONG NumberOfBuckets)</div><div class="ttdef"><b>Definition:</b> <a href="a00605_source.html#l00016">atom.c:16</a></div></div>
<div class="ttc" id="aa00125_html_a631f35fcd8d0c6c359cc08e0301ea7f8"><div class="ttname"><a href="a00125.html#a631f35fcd8d0c6c359cc08e0301ea7f8">EditWndProc</a></div><div class="ttdeci">LONG EditWndProc(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00125_source.html#l02302">editec.c:2302</a></div></div>
<div class="ttc" id="aa02513_html_a87bda40a4c9beada8ca7892e2717d489"><div class="ttname"><a href="a02513.html#a87bda40a4c9beada8ca7892e2717d489">tagSERVERINFO::dwDefaultHeapSize</a></div><div class="ttdeci">DWORD dwDefaultHeapSize</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01001">user.h:1001</a></div></div>
<div class="ttc" id="aa03236_html_ad04da95adc05d69c32d9d6b702c89489"><div class="ttname"><a href="a03236.html#ad04da95adc05d69c32d9d6b702c89489">gpsdInitWinSta</a></div><div class="ttdeci">PSECURITY_DESCRIPTOR gpsdInitWinSta</div><div class="ttdef"><b>Definition:</b> <a href="a00839_source.html#l00020">security.c:20</a></div></div>
<div class="ttc" id="aa00899_html_ab36e16484726c9db061f667ef68c6662"><div class="ttname"><a href="a00899.html#ab36e16484726c9db061f667ef68c6662">WINDOWSTATION</a></div><div class="ttdeci">struct tagWINDOWSTATION WINDOWSTATION</div></div>
<div class="ttc" id="aa00371_html_af713eb6f9b50ac607c1fed71a5f678f8"><div class="ttname"><a href="a00371.html#af713eb6f9b50ac607c1fed71a5f678f8">RIPMSG3</a></div><div class="ttdeci">#define RIPMSG3(flags, szFmt, p1, p2, p3)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00134">winerrp.h:134</a></div></div>
<div class="ttc" id="aa02909_html_a29bb851466268efcf57e7e81e2d0ab09"><div class="ttname"><a href="a02909.html#a29bb851466268efcf57e7e81e2d0ab09">tagDCE::flags</a></div><div class="ttdeci">DWORD flags</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02466">userk.h:2466</a></div></div>
<div class="ttc" id="aa00371_html_a162a73e20dfabca084a3ebb4581631a8"><div class="ttname"><a href="a00371.html#a162a73e20dfabca084a3ebb4581631a8">UserAssert</a></div><div class="ttdeci">#define UserAssert(exp)</div><div class="ttdef"><b>Definition:</b> <a href="a00950_source.html#l00117">usersrv.h:117</a></div></div>
<div class="ttc" id="aa00371_html_afa5f32de88404289ec03cd2c0e61e94f"><div class="ttname"><a href="a00371.html#afa5f32de88404289ec03cd2c0e61e94f">RIP_ERROR</a></div><div class="ttdeci">#define RIP_ERROR</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00028">winerrp.h:28</a></div></div>
<div class="ttc" id="aa02481_html_abe5b2d14e9eba82eca377a8084385c5f"><div class="ttname"><a href="a02481.html#abe5b2d14e9eba82eca377a8084385c5f">tagDISPLAYRESOURCE::cyBorder</a></div><div class="ttdeci">WORD cyBorder</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00460">user.h:460</a></div></div>
<div class="ttc" id="aa03665_html_a30436e4813d55c667d22c3854948748c"><div class="ttname"><a href="a03665.html#a30436e4813d55c667d22c3854948748c">USRINIT_SHAREDSECT_READ_SIZE</a></div><div class="ttdeci">#define USRINIT_SHAREDSECT_READ_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00036">kernel/server.c:36</a></div></div>
<div class="ttc" id="aa00842_html_a4bbe3674acd8620c7d8cf43d282241c0"><div class="ttname"><a href="a00842.html#a4bbe3674acd8620c7d8cf43d282241c0">xxxSendMessageTimeout</a></div><div class="ttdeci">LONG xxxSendMessageTimeout(PWND pwnd, UINT message, DWORD wParam, LONG lParam, UINT fuFlags, UINT uTimeout, LPLONG lpdwResult)</div><div class="ttdef"><b>Definition:</b> <a href="a00842_source.html#l00644">sendmsg.c:644</a></div></div>
<div class="ttc" id="aa00371_html_a31aafffb49dfe98bdc749c9b35c90162"><div class="ttname"><a href="a00371.html#a31aafffb49dfe98bdc749c9b35c90162">RIPMSG1</a></div><div class="ttdeci">#define RIPMSG1(flags, szFmt, p1)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00132">winerrp.h:132</a></div></div>
<div class="ttc" id="aa03665_html_af88583c92947d9e7bbec6876b8fdb101"><div class="ttname"><a href="a03665.html#af88583c92947d9e7bbec6876b8fdb101">szSTATICCLASS</a></div><div class="ttdeci">LPCWSTR szSTATICCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00040">kernel/server.c:40</a></div></div>
<div class="ttc" id="aa02605_html_afb2df48c699295f358dd262c291570a2"><div class="ttname"><a href="a02605.html#afb2df48c699295f358dd262c291570a2">tagDISPLAYINFO::pdceFirst</a></div><div class="ttdeci">PDCE pdceFirst</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01574">user.h:1574</a></div></div>
<div class="ttc" id="aa00719_html_a72ef54e7cd33b78219fba2e112359f00"><div class="ttname"><a href="a00719.html#a72ef54e7cd33b78219fba2e112359f00">LW_LoadDllList</a></div><div class="ttdeci">VOID LW_LoadDllList(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00460">init.c:460</a></div></div>
<div class="ttc" id="aa02513_html_ad99a2fe3799dd05f336da62b5fb731ad"><div class="ttname"><a href="a02513.html#ad99a2fe3799dd05f336da62b5fb731ad">tagSERVERINFO::mpFnidPfn</a></div><div class="ttdeci">WNDPROC_PWNDEX mpFnidPfn[FNID_ARRAY_SIZE]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00956">user.h:956</a></div></div>
<div class="ttc" id="aa00842_html_a69cf2e14dcefd941469ad5126e40f79a"><div class="ttname"><a href="a00842.html#a69cf2e14dcefd941469ad5126e40f79a">xxxSendMessage</a></div><div class="ttdeci">LONG xxxSendMessage(PWND pwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00842_source.html#l00613">sendmsg.c:613</a></div></div>
<div class="ttc" id="aa00257_html_a8315d2c807ba18ba9e528c40614b6173"><div class="ttname"><a href="a00257.html#a8315d2c807ba18ba9e528c40614b6173">PtiCurrent</a></div><div class="ttdeci">PTHREADINFO PtiCurrent(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00263_source.html#l00526">winmgrc.c:526</a></div></div>
<div class="ttc" id="aa00644_html_a2123a4aeb57f1a00139f7d8ada52b213"><div class="ttname"><a href="a00644.html#a2123a4aeb57f1a00139f7d8ada52b213">_GetDC</a></div><div class="ttdeci">HDC _GetDC(PWND pwnd)</div><div class="ttdef"><b>Definition:</b> <a href="a00644_source.html#l00066">dc.c:66</a></div></div>
<div class="ttc" id="aa00899_html_a631c021d41d6cae4a32e2f5a937603ed"><div class="ttname"><a href="a00899.html#a631c021d41d6cae4a32e2f5a937603ed">ParseWindowStation</a></div><div class="ttdeci">NTSTATUS ParseWindowStation(IN PVOID ParseObject, IN PVOID ObjectType, IN OUT PACCESS_STATE AccessState, IN KPROCESSOR_MODE AccessMode, IN ULONG Attributes, IN OUT PUNICODE_STRING CompleteName, IN OUT PUNICODE_STRING RemainingName, IN OUT PVOID Context OPTIONAL, IN PSECURITY_QUALITY_OF_SERVICE SecurityQos OPTIONAL, OUT PVOID *Object)</div></div>
<div class="ttc" id="aa00824_html_abfd2ef0f8a995e8d2f10f8f0248faf5e"><div class="ttname"><a href="a00824.html#abfd2ef0f8a995e8d2f10f8f0248faf5e">xxxCreateThreadInfo</a></div><div class="ttdeci">NTSTATUS xxxCreateThreadInfo(PW32THREAD W32Thread)</div><div class="ttdef"><b>Definition:</b> <a href="a00824_source.html#l00933">queue.c:933</a></div></div>
<div class="ttc" id="aa02513_html_a0cbfa48c1d60535a36e1a50cad564135"><div class="ttname"><a href="a02513.html#a0cbfa48c1d60535a36e1a50cad564135">tagSERVERINFO::RipFlags</a></div><div class="ttdeci">UINT RipFlags</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00945">user.h:945</a></div></div>
<div class="ttc" id="aa03665_html_a57696311f50b9ef1cd14b4a13525887b"><div class="ttname"><a href="a03665.html#a57696311f50b9ef1cd14b4a13525887b">InitSMSLookaside</a></div><div class="ttdeci">NTSTATUS InitSMSLookaside(VOID)</div></div>
<div class="ttc" id="aa00665_html_a7c930cc47b4f158c545b3f7dbcdb75c5"><div class="ttname"><a href="a00665.html#a7c930cc47b4f158c545b3f7dbcdb75c5">InitLoadDriver</a></div><div class="ttdeci">NTSTATUS InitLoadDriver(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00665_source.html#l02945">drvsup.c:2945</a></div></div>
<div class="ttc" id="aa00656_html_a31cbd79538d6aac98c96496289d0e9a2"><div class="ttname"><a href="a00656.html#a31cbd79538d6aac98c96496289d0e9a2">UnmapDesktop</a></div><div class="ttdeci">VOID UnmapDesktop(PEPROCESS Process, PVOID pobj, ACCESS_MASK amGranted, ULONG cProcessHandles, ULONG cSystemHandles)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l02089">desktop.c:2089</a></div></div>
<div class="ttc" id="aa03665_html_a25f3d85db4c4fb494b12ec71e890df57"><div class="ttname"><a href="a03665.html#a25f3d85db4c4fb494b12ec71e890df57">xxxWrapSendMessage</a></div><div class="ttdeci">DWORD xxxWrapSendMessage(PWND pwnd, UINT message, DWORD wParam, LONG lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00633">kernel/server.c:633</a></div></div>
<div class="ttc" id="aa00365_html_aeb45e1c65bc6f45b9c278f43d805a86e"><div class="ttname"><a href="a00365.html#aeb45e1c65bc6f45b9c278f43d805a86e">WNDPROC_PWND</a></div><div class="ttdeci">LONG(APIENTRY * WNDPROC_PWND)(PWND, UINT, DWORD, LONG)</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00767">user.h:767</a></div></div>
<div class="ttc" id="aa00899_html_a4bc3f9c172161d3d0f8ad1868ac6ad85"><div class="ttname"><a href="a00899.html#a4bc3f9c172161d3d0f8ad1868ac6ad85">DestroyWindowStation</a></div><div class="ttdeci">VOID DestroyWindowStation(IN PEPROCESS Process OPTIONAL, IN PVOID Object, IN ACCESS_MASK GrantedAccess, IN ULONG ProcessHandleCount, IN ULONG SystemHandleCount)</div></div>
<div class="ttc" id="aa02525_html_a069f327c7cb8276b76507975cd21158e"><div class="ttname"><a href="a02525.html#a069f327c7cb8276b76507975cd21158e">_USERCONNECT::siClient</a></div><div class="ttdeci">OUT SHAREDINFO siClient</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01077">user.h:1077</a></div></div>
<div class="ttc" id="aa02513_html_a946d7706e6791cacc45bf9006052c1e0"><div class="ttname"><a href="a02513.html#a946d7706e6791cacc45bf9006052c1e0">tagSERVERINFO::mpAllMBbtnStringsToSTR</a></div><div class="ttdeci">DWORD mpAllMBbtnStringsToSTR[MAX_MB_STRINGS]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01020">user.h:1020</a></div></div>
<div class="ttc" id="aa03665_html_af055163aa935641052a93a51af158b08"><div class="ttname"><a href="a03665.html#af055163aa935641052a93a51af158b08">InitQEntryLookaside</a></div><div class="ttdeci">NTSTATUS InitQEntryLookaside(VOID)</div></div>
<div class="ttc" id="aa03665_html_a0cf0d1860a2b65c5ba7c45968901d151"><div class="ttname"><a href="a03665.html#a0cf0d1860a2b65c5ba7c45968901d151">InitMessageTables</a></div><div class="ttdeci">VOID InitMessageTables(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01032">kernel/server.c:1032</a></div></div>
<div class="ttc" id="aa03665_html_ab8e2dcc6ecdd809ace39fb592f62c45a"><div class="ttname"><a href="a03665.html#ab8e2dcc6ecdd809ace39fb592f62c45a">InitCreateUserSubsystem</a></div><div class="ttdeci">BOOL InitCreateUserSubsystem(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01403">kernel/server.c:1403</a></div></div>
<div class="ttc" id="aa02581_html_a6be2d067ba15d4ec8cfc2e87922094f5"><div class="ttname"><a href="a02581.html#a6be2d067ba15d4ec8cfc2e87922094f5">tagWND::head</a></div><div class="ttdeci">THROBJHEAD head</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01389">user.h:1389</a></div></div>
<div class="ttc" id="aa00020_html_ac02f0141c423acd033ecdd2a757a3cc1"><div class="ttname"><a href="a00020.html#ac02f0141c423acd033ecdd2a757a3cc1">gSharedInfo</a></div><div class="ttdeci">SHAREDINFO gSharedInfo</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00040">clglobal.c:40</a></div></div>
<div class="ttc" id="aa00644_html_a1ec030500a19f775519fbaf16c15f814"><div class="ttname"><a href="a00644.html#a1ec030500a19f775519fbaf16c15f814">_ReleaseDC</a></div><div class="ttdeci">BOOL _ReleaseDC(HDC hdc)</div><div class="ttdef"><b>Definition:</b> <a href="a00644_source.html#l00102">dc.c:102</a></div></div>
<div class="ttc" id="aa02809_html"><div class="ttname"><a href="a02809.html">tagWINDOWSTATION</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01744">userk.h:1744</a></div></div>
<div class="ttc" id="aa02513_html_a160faca06801b3578c3d78db2774a499"><div class="ttname"><a href="a02513.html#a160faca06801b3578c3d78db2774a499">tagSERVERINFO::atomIconProp</a></div><div class="ttdeci">ATOM atomIconProp</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01036">user.h:1036</a></div></div>
<div class="ttc" id="aa03665_html_a431e3b2937e2b1f58e5b374914c279b7"><div class="ttname"><a href="a03665.html#a431e3b2937e2b1f58e5b374914c279b7">InitCreateSharedSection</a></div><div class="ttdeci">NTSTATUS InitCreateSharedSection(ULONG ulHeapSize)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01264">kernel/server.c:1264</a></div></div>
<div class="ttc" id="aa02513_html_ac9207b6e64b0cbbefad676f174468448"><div class="ttname"><a href="a02513.html#ac9207b6e64b0cbbefad676f174468448">tagSERVERINFO::aStoCidPfn</a></div><div class="ttdeci">WNDPROC_PWND aStoCidPfn[(FNID_WNDPROCEND - FNID_START)+1]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00957">user.h:957</a></div></div>
<div class="ttc" id="aa02909_html"><div class="ttname"><a href="a02909.html">tagDCE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02458">userk.h:2458</a></div></div>
<div class="ttc" id="aa02909_html_a836027bc59a581f318ea7974231660a0"><div class="ttname"><a href="a02909.html#a836027bc59a581f318ea7974231660a0">tagDCE::pdceNext</a></div><div class="ttdeci">struct tagDCE * pdceNext</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02459">userk.h:2459</a></div></div>
<div class="ttc" id="aa03257_html_ab597263bdbb3441715804712fcf29e6d"><div class="ttname"><a href="a03257.html#ab597263bdbb3441715804712fcf29e6d">gpDispInfo</a></div><div class="ttdeci">PDISPLAYINFO gpDispInfo</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00125">kernel/globals.c:125</a></div></div>
<div class="ttc" id="aa00689_html_aff6a0461c096c5f13235d6537112c084"><div class="ttname"><a href="a00689.html#aff6a0461c096c5f13235d6537112c084">xxxMakeWindowForegroundWithState</a></div><div class="ttdeci">void xxxMakeWindowForegroundWithState(PWND pwnd, BYTE NewState)</div><div class="ttdef"><b>Definition:</b> <a href="a00689_source.html#l00140">fullscr.c:140</a></div></div>
<div class="ttc" id="aa03665_html_a5c2749fb852a211724fa62099076d750"><div class="ttname"><a href="a03665.html#a5c2749fb852a211724fa62099076d750">xxxClientLoadDisplayResource</a></div><div class="ttdeci">BOOL xxxClientLoadDisplayResource(PUNICODE_STRING, PDISPLAYRESOURCE)</div></div>
<div class="ttc" id="aa02481_html_ad01f1992696dc02c180724cc4836b909"><div class="ttname"><a href="a02481.html#ad01f1992696dc02c180724cc4836b909">tagDISPLAYRESOURCE::yCompressIcon</a></div><div class="ttdeci">WORD yCompressIcon</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00455">user.h:455</a></div></div>
<div class="ttc" id="aa00821_html_a71ab7da1e1b58e117d8fe2bcca8fcdb0"><div class="ttname"><a href="a00821.html#a71ab7da1e1b58e117d8fe2bcca8fcdb0">FastOpenProfileUserMapping</a></div><div class="ttdeci">BOOL FastOpenProfileUserMapping(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00160">profile.c:160</a></div></div>
<div class="ttc" id="aa02605_html_a81f6c7e5df9c00e3f33e6e1a94ac75fc"><div class="ttname"><a href="a02605.html#a81f6c7e5df9c00e3f33e6e1a94ac75fc">tagDISPLAYINFO::hDev</a></div><div class="ttdeci">HANDLE hDev</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01576">user.h:1576</a></div></div>
<div class="ttc" id="aa03257_html_a15b01bf3bf02ba131160e26e97f4abf5"><div class="ttname"><a href="a03257.html#a15b01bf3bf02ba131160e26e97f4abf5">gptiRit</a></div><div class="ttdeci">PTHREADINFO gptiRit</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00132">kernel/globals.c:132</a></div></div>
<div class="ttc" id="aa00821_html_aa99363e718e5d1c8d2d5232e51fe2716"><div class="ttname"><a href="a00821.html#aa99363e718e5d1c8d2d5232e51fe2716">FastCloseProfileUserMapping</a></div><div class="ttdeci">BOOL FastCloseProfileUserMapping(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00224">profile.c:224</a></div></div>
<div class="ttc" id="aa00680_html_a3d55823092d5efdce994868cd5efa7d8"><div class="ttname"><a href="a00680.html#a3d55823092d5efdce994868cd5efa7d8">SharedAlloc</a></div><div class="ttdeci">PVOID SharedAlloc(UINT cbAlloc)</div><div class="ttdef"><b>Definition:</b> <a href="a00680_source.html#l00305">ex.c:305</a></div></div>
<div class="ttc" id="aa03665_html_a49c4010b3158a12245b899d3da3bef05"><div class="ttname"><a href="a03665.html#a49c4010b3158a12245b899d3da3bef05">szDDEMLCLIENTCLASSW</a></div><div class="ttdeci">LPCWSTR szDDEMLCLIENTCLASSW</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00049">kernel/server.c:49</a></div></div>
<div class="ttc" id="aa02809_html_a5166c7e2801426372e7bcc24c1df7007"><div class="ttname"><a href="a02809.html#a5166c7e2801426372e7bcc24c1df7007">tagWINDOWSTATION::pGlobalAtomTable</a></div><div class="ttdeci">PVOID pGlobalAtomTable</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01780">userk.h:1780</a></div></div>
<div class="ttc" id="aa02801_html_a3f38a65f805623b272c560a777329069"><div class="ttname"><a href="a02801.html#a3f38a65f805623b272c560a777329069">tagDESKTOP::dwDTFlags</a></div><div class="ttdeci">DWORD dwDTFlags</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01712">userk.h:1712</a></div></div>
<div class="ttc" id="aa03665_html_acc38edc4aa6ec3ec11f134d55046fa48"><div class="ttname"><a href="a03665.html#acc38edc4aa6ec3ec11f134d55046fa48">InitMBStringArrays</a></div><div class="ttdeci">VOID InitMBStringArrays(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01064">kernel/server.c:1064</a></div></div>
<div class="ttc" id="aa00821_html_a035665e7f113b339713a981bfb45afec"><div class="ttname"><a href="a00821.html#a035665e7f113b339713a981bfb45afec">FastGetProfileStringW</a></div><div class="ttdeci">DWORD FastGetProfileStringW(UINT idSection, LPCWSTR lpKeyName, LPCWSTR lpDefault, LPWSTR lpReturnedString, DWORD cchBuf)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00444">profile.c:444</a></div></div>
<div class="ttc" id="aa03257_html_ab7defab366f7687fa30be2847faa4ad6"><div class="ttname"><a href="a03257.html#ab7defab366f7687fa30be2847faa4ad6">gatomFirstPinned</a></div><div class="ttdeci">ATOM gatomFirstPinned</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00271">kernel/globals.c:271</a></div></div>
<div class="ttc" id="aa02525_html"><div class="ttname"><a href="a02525.html">_USERCONNECT</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01074">user.h:1074</a></div></div>
<div class="ttc" id="aa00689_html_a2cf7d13f9206082622d1c7c42dd43e40"><div class="ttname"><a href="a00689.html#a2cf7d13f9206082622d1c7c42dd43e40">FullScreenCleanup</a></div><div class="ttdeci">void FullScreenCleanup()</div><div class="ttdef"><b>Definition:</b> <a href="a00689_source.html#l00075">fullscr.c:75</a></div></div>
<div class="ttc" id="aa02513_html_a6f4de7f11f44318feef70149fa2d31cc"><div class="ttname"><a href="a02513.html#a6f4de7f11f44318feef70149fa2d31cc">tagSERVERINFO::apfnClientW</a></div><div class="ttdeci">struct _PFNCLIENT apfnClientW</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00966">user.h:966</a></div></div>
<div class="ttc" id="aa00563_html_a074685e97e89d6aa2accdfcb82328699"><div class="ttname"><a href="a00563.html#a074685e97e89d6aa2accdfcb82328699">DWORD</a></div><div class="ttdeci">ddeml v[i&lt; inst &gt;][t&lt; type &gt;][hObj|pObj] Dump DDEML state information ddeml lists all ddeml instances for this process n ddeml t&lt; type &gt; lists all ddeml objects of the given type n n assumes link is first DWORD</div><div class="ttdef"><b>Definition:</b> <a href="a00563_source.html#l00175">exts.h:175</a></div></div>
<div class="ttc" id="aa02501_html_ab0a3def4cca7c012a7dcd51bdbbb19bb"><div class="ttname"><a href="a02501.html#ab0a3def4cca7c012a7dcd51bdbbb19bb">_PFNCLIENT::pfnEditWndProc</a></div><div class="ttdeci">PROC pfnEditWndProc</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00739">user.h:739</a></div></div>
<div class="ttc" id="aa02513_html"><div class="ttname"><a href="a02513.html">tagSERVERINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00944">user.h:944</a></div></div>
<div class="ttc" id="aa03257_html_a3eabb6cc6d3b24f411b7f94f5d6edac6"><div class="ttname"><a href="a03257.html#a3eabb6cc6d3b24f411b7f94f5d6edac6">gpepCSRSS</a></div><div class="ttdeci">PEPROCESS gpepCSRSS</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00185">kernel/globals.c:185</a></div></div>
<div class="ttc" id="aa03665_html_af55e78226a1eab4e95cd36f25db6cfb6"><div class="ttname"><a href="a03665.html#af55e78226a1eab4e95cd36f25db6cfb6">szDDEMLSERVERCLASSA</a></div><div class="ttdeci">LPCWSTR szDDEMLSERVERCLASSA</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00052">kernel/server.c:52</a></div></div>
<div class="ttc" id="aa03266_html_adc61ef551cf8e713e7f0014b5932ffcd"><div class="ttname"><a href="a03266.html#adc61ef551cf8e713e7f0014b5932ffcd">WinStaMapping</a></div><div class="ttdeci">GENERIC_MAPPING WinStaMapping</div><div class="ttdef"><b>Definition:</b> <a href="a00839_source.html#l00029">security.c:29</a></div></div>
<div class="ttc" id="aa01881_html"><div class="ttname"><a href="a01881.html">_TL</a></div><div class="ttdef"><b>Definition:</b> <a href="a00257_source.html#l00347">usercli.h:347</a></div></div>
<div class="ttc" id="aa03257_html_ae9d80fdbdd3e695d7c42b5c3278ff79f"><div class="ttname"><a href="a03257.html#ae9d80fdbdd3e695d7c42b5c3278ff79f">guiOtherWindowDestroyed</a></div><div class="ttdeci">UINT guiOtherWindowDestroyed</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00074">kernel/globals.c:74</a></div></div>
<div class="ttc" id="aa03665_html_a9119492a4faef6d99a34be5b378d4dd5"><div class="ttname"><a href="a03665.html#a9119492a4faef6d99a34be5b378d4dd5">INITMSGTABLE</a></div><div class="ttdeci">#define INITMSGTABLE(member, procname)</div></div>
<div class="ttc" id="aa03665_html_ac8be4a3d458f25daea3ccbfc5f2e9b97"><div class="ttname"><a href="a03665.html#ac8be4a3d458f25daea3ccbfc5f2e9b97">USRINIT_NOIOSECT_SIZE</a></div><div class="ttdeci">#define USRINIT_NOIOSECT_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00033">kernel/server.c:33</a></div></div>
<div class="ttc" id="aa02481_html_adb08fb4f4516bd498d72fbf240eb091d"><div class="ttname"><a href="a02481.html#adb08fb4f4516bd498d72fbf240eb091d">tagDISPLAYRESOURCE::yCompressCursor</a></div><div class="ttdeci">WORD yCompressCursor</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00457">user.h:457</a></div></div>
<div class="ttc" id="aa02481_html"><div class="ttname"><a href="a02481.html">tagDISPLAYRESOURCE</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00451">user.h:451</a></div></div>
<div class="ttc" id="aa03665_html_a0bfa0036b781d5a5c71384d51272b644"><div class="ttname"><a href="a03665.html#a0bfa0036b781d5a5c71384d51272b644">InitCreateUserCrit</a></div><div class="ttdeci">BOOL InitCreateUserCrit(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01326">kernel/server.c:1326</a></div></div>
<div class="ttc" id="aa00812_html_ac4aad7241d3cc5f490dc17d06b6fe5a0"><div class="ttname"><a href="a00812.html#ac4aad7241d3cc5f490dc17d06b6fe5a0">xxxBeginPaint</a></div><div class="ttdeci">HDC xxxBeginPaint(PWND pwnd, LPPAINTSTRUCT lpps)</div><div class="ttdef"><b>Definition:</b> <a href="a00812_source.html#l00199">paint.c:199</a></div></div>
<div class="ttc" id="aa02513_html_acfbb1bdf492ec9f7a21f0094adbbe948"><div class="ttname"><a href="a02513.html#acfbb1bdf492ec9f7a21f0094adbbe948">tagSERVERINFO::atomSysClass</a></div><div class="ttdeci">ATOM atomSysClass[ICLS_MAX]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00998">user.h:998</a></div></div>
<div class="ttc" id="aa02581_html"><div class="ttname"><a href="a02581.html">tagWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01388">user.h:1388</a></div></div>
<div class="ttc" id="aa02557_html_a3edd15123eefa8ad8e6ad3a87c7e6b96"><div class="ttname"><a href="a02557.html#a3edd15123eefa8ad8e6ad3a87c7e6b96">_CALLPROCDATA::pfnClientPrevious</a></div><div class="ttdeci">DWORD pfnClientPrevious</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01250">user.h:1250</a></div></div>
<div class="ttc" id="aa02521_html_af7e102138cc931684101f821b7ef2788"><div class="ttname"><a href="a02521.html#af7e102138cc931684101f821b7ef2788">tagSHAREDINFO::pszDllList</a></div><div class="ttdeci">LPWSTR pszDllList</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01066">user.h:1066</a></div></div>
<div class="ttc" id="aa03257_html_a0d0e16dfc8a9c0805c94a8c26d21a163"><div class="ttname"><a href="a03257.html#a0d0e16dfc8a9c0805c94a8c26d21a163">ghheapSharedRO</a></div><div class="ttdeci">PVOID ghheapSharedRO</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00051">kernel/globals.c:51</a></div></div>
<div class="ttc" id="aa02581_html_a6053af0b243b6737640988eb63081de3"><div class="ttname"><a href="a02581.html#a6053af0b243b6737640988eb63081de3">tagWND::spwndParent</a></div><div class="ttdeci">struct tagWND * spwndParent</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01392">user.h:1392</a></div></div>
<div class="ttc" id="aa03665_html_a65e88beffa25de9ddfe02a78c5818d95"><div class="ttname"><a href="a03665.html#a65e88beffa25de9ddfe02a78c5818d95">UserInitialize</a></div><div class="ttdeci">NTSTATUS UserInitialize(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01691">kernel/server.c:1691</a></div></div>
<div class="ttc" id="aa03665_html_a6623223c60ab90fdf12564f9f8e23bd4"><div class="ttname"><a href="a03665.html#a6623223c60ab90fdf12564f9f8e23bd4">_UserGetGlobalAtomTable</a></div><div class="ttdeci">NTSTATUS _UserGetGlobalAtomTable(PETHREAD Thread, HWINSTA hwinsta, PVOID *ppGlobalAtomTable)</div><div class="ttdef"><b>Definition:</b> <a href="a00920_source.html#l01093">winsta.c:1093</a></div></div>
<div class="ttc" id="aa02805_html"><div class="ttname"><a href="a02805.html">tagDESKWND</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01729">userk.h:1729</a></div></div>
<div class="ttc" id="aa02605_html"><div class="ttname"><a href="a02605.html">tagDISPLAYINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01564">user.h:1564</a></div></div>
<div class="ttc" id="aa03665_html_a466c8bf9703eca2f411023af3153a165"><div class="ttname"><a href="a03665.html#a466c8bf9703eca2f411023af3153a165">szDDEMLMOTHERCLASS</a></div><div class="ttdeci">LPCWSTR szDDEMLMOTHERCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00047">kernel/server.c:47</a></div></div>
<div class="ttc" id="aa00839_html_ad44fb853080371fbd9ce7e895cb2d46d"><div class="ttname"><a href="a00839.html#ad44fb853080371fbd9ce7e895cb2d46d">InitSecurity</a></div><div class="ttdeci">BOOL InitSecurity(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00839_source.html#l00187">security.c:187</a></div></div>
<div class="ttc" id="aa02501_html_aa8d047fb3797fd6b520383ee297357bf"><div class="ttname"><a href="a02501.html#aa8d047fb3797fd6b520383ee297357bf">_PFNCLIENT::pfnDispatchMessage</a></div><div class="ttdeci">PROC pfnDispatchMessage</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00752">user.h:752</a></div></div>
<div class="ttc" id="aa00899_html_a2d7abd0a2edcc1aa3601bc9a8b12665d"><div class="ttname"><a href="a00899.html#a2d7abd0a2edcc1aa3601bc9a8b12665d">DESKTOP</a></div><div class="ttdeci">struct tagDESKTOP DESKTOP</div></div>
<div class="ttc" id="aa00371_html_a41f433389f20db57f042022a662e96de"><div class="ttname"><a href="a00371.html#a41f433389f20db57f042022a662e96de">RIP_WARNING</a></div><div class="ttdeci">#define RIP_WARNING</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00029">winerrp.h:29</a></div></div>
<div class="ttc" id="aa03665_html_ae722290307af71f89f82600895ca3a14"><div class="ttname"><a href="a03665.html#ae722290307af71f89f82600895ca3a14">szSCROLLBARCLASS</a></div><div class="ttdeci">LPCWSTR szSCROLLBARCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00042">kernel/server.c:42</a></div></div>
<div class="ttc" id="aa03257_html_a165b1361c67b32fe960fd9658d4c0735"><div class="ttname"><a href="a03257.html#a165b1361c67b32fe960fd9658d4c0735">cachedCaptions</a></div><div class="ttdeci">CAPTIONCACHE cachedCaptions[CCACHEDCAPTIONS]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00017">kernel/globals.c:17</a></div></div>
<div class="ttc" id="aa03257_html_a50563c6c979ad91669e08b094dcc0731"><div class="ttname"><a href="a03257.html#a50563c6c979ad91669e08b094dcc0731">guiActivateShellWindow</a></div><div class="ttdeci">UINT guiActivateShellWindow</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00072">kernel/globals.c:72</a></div></div>
<div class="ttc" id="aa00656_html_a00a6ebefc61d804dbc4a76eff9aaf721"><div class="ttname"><a href="a00656.html#a00a6ebefc61d804dbc4a76eff9aaf721">xxxInvalidateIconicWindows</a></div><div class="ttdeci">VOID xxxInvalidateIconicWindows(PWND pwndParent, PWND pwndPaletteChanging)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l00459">desktop.c:459</a></div></div>
<div class="ttc" id="aa02521_html_a7e26cfe7a314d23f30409cf4dcb86b82"><div class="ttname"><a href="a02521.html#a7e26cfe7a314d23f30409cf4dcb86b82">tagSHAREDINFO::awmControl</a></div><div class="ttdeci">WNDMSG awmControl[FNID_END - FNID_START+1]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01068">user.h:1068</a></div></div>
<div class="ttc" id="aa00365_html_a177dce23f2b497ba8dc22f5a92d3f3d3"><div class="ttname"><a href="a00365.html#a177dce23f2b497ba8dc22f5a92d3f3d3">PTHREADINFO</a></div><div class="ttdeci">struct tagTHREADINFO * PTHREADINFO</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00762">user.h:762</a></div></div>
<div class="ttc" id="aa02801_html_a7865078d53afb2719414b44d87f75c5d"><div class="ttname"><a href="a02801.html#a7865078d53afb2719414b44d87f75c5d">tagDESKTOP::pDispInfo</a></div><div class="ttdeci">PDISPLAYINFO pDispInfo</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l01707">userk.h:1707</a></div></div>
<div class="ttc" id="aa00680_html_aa29eee5c4d269ff2d6fe0a66b9de9041"><div class="ttname"><a href="a00680.html#aa29eee5c4d269ff2d6fe0a66b9de9041">ghReadOnlySharedSection</a></div><div class="ttdeci">HANDLE ghReadOnlySharedSection</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00052">kernel/globals.c:52</a></div></div>
<div class="ttc" id="aa03665_html_a47b2fe5eca3094683b81fecdc8ba5ac8"><div class="ttname"><a href="a03665.html#a47b2fe5eca3094683b81fecdc8ba5ac8">USRINIT_WINDOWSECT_SIZE</a></div><div class="ttdeci">#define USRINIT_WINDOWSECT_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00032">kernel/server.c:32</a></div></div>
<div class="ttc" id="aa00842_html_aec00217f2ba38eaaca234a78f94172aa"><div class="ttname"><a href="a00842.html#aec00217f2ba38eaaca234a78f94172aa">xxxSendMessageEx</a></div><div class="ttdeci">LONG xxxSendMessageEx(PWND pwnd, UINT message, DWORD wParam, LONG lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00842_source.html#l00533">sendmsg.c:533</a></div></div>
<div class="ttc" id="aa03257_html_a6c55afa9eda9cf02cafb51a7bf325391"><div class="ttname"><a href="a03257.html#a6c55afa9eda9cf02cafb51a7bf325391">szWindowStationDirectory</a></div><div class="ttdeci">WCHAR szWindowStationDirectory[]</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00259">kernel/globals.c:259</a></div></div>
<div class="ttc" id="aa00011_html_a179eb2d30cb9b0e612d121f042cc4e4d"><div class="ttname"><a href="a00011.html#a179eb2d30cb9b0e612d121f042cc4e4d">InitClassOffsets</a></div><div class="ttdeci">void InitClassOffsets(void)</div><div class="ttdef"><b>Definition:</b> <a href="a00011_source.html#l00072">classc.c:72</a></div></div>
<div class="ttc" id="aa00365_html_adacd17b3ab4d5a89c032fbd0be8b90bb"><div class="ttname"><a href="a00365.html#adacd17b3ab4d5a89c032fbd0be8b90bb">SBWND</a></div><div class="ttdeci">struct tagSBWND SBWND</div></div>
<div class="ttc" id="aa03665_html_a94d8e171ecf569e641e9c7d938b6d3aa"><div class="ttname"><a href="a03665.html#a94d8e171ecf569e641e9c7d938b6d3aa">InitKeyStateLookaside</a></div><div class="ttdeci">NTSTATUS InitKeyStateLookaside(VOID)</div></div>
<div class="ttc" id="aa02605_html_a5e0929a8ef013061be966961b2eddbff"><div class="ttname"><a href="a02605.html#a5e0929a8ef013061be966961b2eddbff">tagDISPLAYINFO::pDevLock</a></div><div class="ttdeci">LPVOID pDevLock</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01577">user.h:1577</a></div></div>
<div class="ttc" id="aa03665_html_ac0a2d616779ca7ea6411c25a2df562f8"><div class="ttname"><a href="a03665.html#ac0a2d616779ca7ea6411c25a2df562f8">szMDICLIENTCLASS</a></div><div class="ttdeci">LPCWSTR szMDICLIENTCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00045">kernel/server.c:45</a></div></div>
<div class="ttc" id="aa03665_html_afa55b99d86799bb7ad6e88cadf6eca03"><div class="ttname"><a href="a03665.html#afa55b99d86799bb7ad6e88cadf6eca03">InitSyncOnlyMessages</a></div><div class="ttdeci">VOID InitSyncOnlyMessages(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00730">kernel/server.c:730</a></div></div>
<div class="ttc" id="aa03665_html_a00c37f6f9665c90db0ccc814ba381a62"><div class="ttname"><a href="a03665.html#a00c37f6f9665c90db0ccc814ba381a62">xxxDesktopWndProc</a></div><div class="ttdeci">LONG xxxDesktopWndProc(PWND pwnd, UINT message, DWORD wParam, LPARAM lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l00499">desktop.c:499</a></div></div>
<div class="ttc" id="aa03257_html_a12ce9543e8f3931ac8d620824ada6347"><div class="ttname"><a href="a03257.html#a12ce9543e8f3931ac8d620824ada6347">atomCheckpointProp</a></div><div class="ttdeci">ATOM atomCheckpointProp</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00273">kernel/globals.c:273</a></div></div>
<div class="ttc" id="aa02553_html_ab51f0b363324b2cf09057a4c55d5100f"><div class="ttname"><a href="a02553.html#ab51f0b363324b2cf09057a4c55d5100f">_HANDLEENTRY::bType</a></div><div class="ttdeci">BYTE bType</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01168">user.h:1168</a></div></div>
<div class="ttc" id="aa03665_html_a2a69383a188c05921aeda5715ddb2336"><div class="ttname"><a href="a03665.html#a2a69383a188c05921aeda5715ddb2336">InitLoadResources</a></div><div class="ttdeci">VOID InitLoadResources(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01557">kernel/server.c:1557</a></div></div>
<div class="ttc" id="aa00605_html_a19c9369d5d269443b1175d063b296627"><div class="ttname"><a href="a00605.html#a19c9369d5d269443b1175d063b296627">UserAddAtom</a></div><div class="ttdeci">ATOM UserAddAtom(LPCWSTR lpAtom, BOOL bPin)</div><div class="ttdef"><b>Definition:</b> <a href="a00605_source.html#l00033">atom.c:33</a></div></div>
<div class="ttc" id="aa03665_html_aaedc4be2cd4b6dabc14fe7a0e176fed6"><div class="ttname"><a href="a03665.html#aaedc4be2cd4b6dabc14fe7a0e176fed6">USRINIT_ATOMBUCKET_SIZE</a></div><div class="ttdeci">#define USRINIT_ATOMBUCKET_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00031">kernel/server.c:31</a></div></div>
<div class="ttc" id="aa02513_html_a4bd85c2f52f502cc32a9bfb9004694ad"><div class="ttname"><a href="a02513.html#a4bd85c2f52f502cc32a9bfb9004694ad">tagSERVERINFO::tmSysFont</a></div><div class="ttdeci">TEXTMETRIC tmSysFont</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01017">user.h:1017</a></div></div>
<div class="ttc" id="aa03257_html_ac6b62aff5aa60b8f170320cd7c3f32d7"><div class="ttname"><a href="a03257.html#ac6b62aff5aa60b8f170320cd7c3f32d7">gpresUser</a></div><div class="ttdeci">PERESOURCE gpresUser</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00169">kernel/globals.c:169</a></div></div>
<div class="ttc" id="aa00656_html_a091a64b9cbe82dee258a7b69669478d1"><div class="ttname"><a href="a00656.html#a091a64b9cbe82dee258a7b69669478d1">FreeDesktop</a></div><div class="ttdeci">VOID FreeDesktop(PVOID pobj)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l01722">desktop.c:1722</a></div></div>
<div class="ttc" id="aa00365_html_ab993ad57b0d56b4f9b64df02256b611c"><div class="ttname"><a href="a00365.html#ab993ad57b0d56b4f9b64df02256b611c">HMValidateHandleNoRip</a></div><div class="ttdeci">PVOID FASTCALL HMValidateHandleNoRip(HANDLE h, BYTE btype)</div><div class="ttdef"><b>Definition:</b> <a href="a03752_source.html#l00303">rtl/wow.c:303</a></div></div>
<div class="ttc" id="aa00656_html_a9612118d196f921acc52dcedded646c8"><div class="ttname"><a href="a00656.html#a9612118d196f921acc52dcedded646c8">_SetThreadDesktop</a></div><div class="ttdeci">BOOL _SetThreadDesktop(HDESK hdesk, PDESKTOP pdesk)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l02901">desktop.c:2901</a></div></div>
<div class="ttc" id="aa02889_html_abb1184e0c5805b5ad89b79dcc2bd17c8"><div class="ttname"><a href="a02889.html#abb1184e0c5805b5ad89b79dcc2bd17c8">tagTHREADINFO::rpdesk</a></div><div class="ttdeci">PDESKTOP rpdesk</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02288">userk.h:2288</a></div></div>
<div class="ttc" id="aa00719_html_a48c4c0ff3ac637cb55a5e8898cd67807"><div class="ttname"><a href="a00719.html#a48c4c0ff3ac637cb55a5e8898cd67807">LW_LoadSomeStrings</a></div><div class="ttdeci">VOID LW_LoadSomeStrings(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l00433">init.c:433</a></div></div>
<div class="ttc" id="aa02889_html_aea8fcdf7513cfa8972ff27524296079b"><div class="ttname"><a href="a02889.html#aea8fcdf7513cfa8972ff27524296079b">tagTHREADINFO::pq</a></div><div class="ttdeci">struct tagQ * pq</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02273">userk.h:2273</a></div></div>
<div class="ttc" id="aa00824_html_ae1fd296dfef25f7afb5e44ece42b1bf3"><div class="ttname"><a href="a00824.html#ae1fd296dfef25f7afb5e44ece42b1bf3">xxxDestroyThreadInfo</a></div><div class="ttdeci">VOID xxxDestroyThreadInfo(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00824_source.html#l01766">queue.c:1766</a></div></div>
<div class="ttc" id="aa02521_html_a6da4f30e256d1a1a5920b1d0a2ec73c2"><div class="ttname"><a href="a02521.html#a6da4f30e256d1a1a5920b1d0a2ec73c2">tagSHAREDINFO::psi</a></div><div class="ttdeci">struct tagSERVERINFO * psi</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01059">user.h:1059</a></div></div>
<div class="ttc" id="aa03665_html_af7c7ce2e11f161ac4e642f9732065600"><div class="ttname"><a href="a03665.html#af7c7ce2e11f161ac4e642f9732065600">szCOMBOBOXCLASS</a></div><div class="ttdeci">LPCWSTR szCOMBOBOXCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00044">kernel/server.c:44</a></div></div>
<div class="ttc" id="aa03665_html_af610492c75647be75debb5a139a52bb4"><div class="ttname"><a href="a03665.html#af610492c75647be75debb5a139a52bb4">szDDEML16BITCLASS</a></div><div class="ttdeci">LPCWSTR szDDEML16BITCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00048">kernel/server.c:48</a></div></div>
<div class="ttc" id="aa00899_html_ac2181d07596893ed44d18aa267ce4d23"><div class="ttname"><a href="a00899.html#ac2181d07596893ed44d18aa267ce4d23">LeaveCrit</a></div><div class="ttdeci">VOID LeaveCrit(VOID)</div></div>
<div class="ttc" id="aa03257_html_adf0068988d4823d1fa1a18bca501899e"><div class="ttname"><a href="a03257.html#adf0068988d4823d1fa1a18bca501899e">TraceDisplayDriverLoad</a></div><div class="ttdeci">LONG TraceDisplayDriverLoad</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00507">kernel/globals.c:507</a></div></div>
<div class="ttc" id="aa03608_html_afd1a0e78d1f88954d93e48ab3821781f"><div class="ttname"><a href="a03608.html#afd1a0e78d1f88954d93e48ab3821781f">UINT</a></div><div class="ttdeci">typedef UINT(FAR WINAPI *MSGSOUNDPROC)()</div></div>
<div class="ttc" id="aa00920_html_a71df3543eaf0197b0e7f280be312c854"><div class="ttname"><a href="a00920.html#a71df3543eaf0197b0e7f280be312c854">ReferenceWindowStation</a></div><div class="ttdeci">NTSTATUS ReferenceWindowStation(PETHREAD Thread, HWINSTA hwinsta, ACCESS_MASK amDesiredAccess, PWINDOWSTATION *ppwinsta, BOOL fUseDesktop)</div><div class="ttdef"><b>Definition:</b> <a href="a00920_source.html#l00999">winsta.c:999</a></div></div>
<div class="ttc" id="aa03665_html_a8f1a55755a2fae46af022e1bf4d70b8a"><div class="ttname"><a href="a03665.html#a8f1a55755a2fae46af022e1bf4d70b8a">xxxUnusedFunctionId</a></div><div class="ttdeci">DWORD xxxUnusedFunctionId(PWND pwnd, UINT message, DWORD wParam, LONG lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00657">kernel/server.c:657</a></div></div>
<div class="ttc" id="aa03242_html_a5fe71cbbe99e9b25808ced78e3bc5b32"><div class="ttname"><a href="a03242.html#a5fe71cbbe99e9b25808ced78e3bc5b32">xxxSetWindowLong</a></div><div class="ttdeci">DWORD xxxSetWindowLong(PWND pwnd, int index, DWORD dwData, BOOL bAnsi)</div><div class="ttdef"><b>Definition:</b> <a href="a03242_source.html#l00256">kernel/getset.c:256</a></div></div>
<div class="ttc" id="aa00365_html_abce9368ed5b93dc4c0e3e9cc7c99157b"><div class="ttname"><a href="a00365.html#abce9368ed5b93dc4c0e3e9cc7c99157b">PETHREAD</a></div><div class="ttdeci">struct _ETHREAD * PETHREAD</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00060">user.h:60</a></div></div>
<div class="ttc" id="aa03665_html_ac17fa43589ff35c4d79cb36e113168d0"><div class="ttname"><a href="a03665.html#ac17fa43589ff35c4d79cb36e113168d0">szBUTTONCLASS</a></div><div class="ttdeci">LPCWSTR szBUTTONCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00039">kernel/server.c:39</a></div></div>
<div class="ttc" id="aa03665_html_a28db47ab974a03492b98573179d3b5e9"><div class="ttname"><a href="a03665.html#a28db47ab974a03492b98573179d3b5e9">InitMapSharedSection</a></div><div class="ttdeci">NTSTATUS InitMapSharedSection(PEPROCESS Process, PUSERCONNECT pUserConnect)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01493">kernel/server.c:1493</a></div></div>
<div class="ttc" id="aa00899_html_a70b09c3e2b495630f4205d34be505afb"><div class="ttname"><a href="a00899.html#a70b09c3e2b495630f4205d34be505afb">CheckLock</a></div><div class="ttdeci">VOID CheckLock(PVOID pobj)</div></div>
<div class="ttc" id="aa02517_html_a42d641821b5c3c8a4f9dd0328dabfc8a"><div class="ttname"><a href="a02517.html#a42d641821b5c3c8a4f9dd0328dabfc8a">_WNDMSG::maxMsgs</a></div><div class="ttdeci">UINT maxMsgs</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01054">user.h:1054</a></div></div>
<div class="ttc" id="aa00899_html_a666116d3947c19e095a0d91378a6c91f"><div class="ttname"><a href="a00899.html#a666116d3947c19e095a0d91378a6c91f">FreeWindowStation</a></div><div class="ttdeci">VOID FreeWindowStation(IN PWINDOWSTATION WindowStation)</div></div>
<div class="ttc" id="aa00812_html_ac476321da84072ed7dad8a779822a18f"><div class="ttname"><a href="a00812.html#ac476321da84072ed7dad8a779822a18f">_EndPaint</a></div><div class="ttdeci">BOOL _EndPaint(PWND pwnd, LPPAINTSTRUCT lpps)</div><div class="ttdef"><b>Definition:</b> <a href="a00812_source.html#l00431">paint.c:431</a></div></div>
<div class="ttc" id="aa03257_html_ac40f85b7e050f68ded4cb62b28a26090"><div class="ttname"><a href="a03257.html#ac40f85b7e050f68ded4cb62b28a26090">gatomLastPinned</a></div><div class="ttdeci">ATOM gatomLastPinned</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00272">kernel/globals.c:272</a></div></div>
<div class="ttc" id="aa02521_html_aba571224616f70b9a072015bc9873676"><div class="ttname"><a href="a02521.html#aba571224616f70b9a072015bc9873676">tagSHAREDINFO::aheList</a></div><div class="ttdeci">struct _HANDLEENTRY * aheList</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01060">user.h:1060</a></div></div>
<div class="ttc" id="aa02609_html_a68937d60a6f49b7a8431db62b38ea721"><div class="ttname"><a href="a02609.html#a68937d60a6f49b7a8431db62b38ea721">tagDESKTOPINFO::spwnd</a></div><div class="ttdeci">struct tagWND * spwnd</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01603">user.h:1603</a></div></div>
<div class="ttc" id="aa02889_html"><div class="ttname"><a href="a02889.html">tagTHREADINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02260">userk.h:2260</a></div></div>
<div class="ttc" id="aa00371_html_a906cb0845450a5d5422ce513ecd8a32f"><div class="ttname"><a href="a00371.html#a906cb0845450a5d5422ce513ecd8a32f">RIPMSG2</a></div><div class="ttdeci">#define RIPMSG2(flags, szFmt, p1, p2)</div><div class="ttdef"><b>Definition:</b> <a href="a00371_source.html#l00133">winerrp.h:133</a></div></div>
<div class="ttc" id="aa02513_html_aaf5a872120f26aaf70d1117a8c1984d3"><div class="ttname"><a href="a02513.html#aaf5a872120f26aaf70d1117a8c1984d3">tagSERVERINFO::atomContextHelpIdProp</a></div><div class="ttdeci">ATOM atomContextHelpIdProp</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01044">user.h:1044</a></div></div>
<div class="ttc" id="aa03665_html_a96dcfc3928d47e43714c9449327c3e2a"><div class="ttname"><a href="a03665.html#a96dcfc3928d47e43714c9449327c3e2a">xxxWrapCallNextHookEx</a></div><div class="ttdeci">DWORD xxxWrapCallNextHookEx(PWND pwnd, UINT message, DWORD wParam, LONG lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00623">kernel/server.c:623</a></div></div>
<div class="ttc" id="aa02525_html_a07b6dad2c243a41dc418165576b331cf"><div class="ttname"><a href="a02525.html#a07b6dad2c243a41dc418165576b331cf">_USERCONNECT::ulCurrentVersion</a></div><div class="ttdeci">OUT ULONG ulCurrentVersion</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01076">user.h:1076</a></div></div>
<div class="ttc" id="aa00821_html_ae4f75b94f0191beb73c4b958f8ca9052"><div class="ttname"><a href="a00821.html#ae4f75b94f0191beb73c4b958f8ca9052">FastGetProfileDwordW</a></div><div class="ttdeci">DWORD FastGetProfileDwordW(UINT idSection, LPCWSTR lpKeyName, DWORD dwDefault)</div><div class="ttdef"><b>Definition:</b> <a href="a00821_source.html#l00245">profile.c:245</a></div></div>
<div class="ttc" id="aa03257_html_a326757fcfe334f2ffd59d64d4645d37a"><div class="ttname"><a href="a03257.html#a326757fcfe334f2ffd59d64d4645d37a">grpdeskRitInput</a></div><div class="ttdeci">PDESKTOP grpdeskRitInput</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00187">kernel/globals.c:187</a></div></div>
<div class="ttc" id="aa02477_html"><div class="ttname"><a href="a02477.html">_CLIENTINFO</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00372">user.h:372</a></div></div>
<div class="ttc" id="aa00257_html_af4d8743272a8eb22e205078faaed38c5"><div class="ttname"><a href="a00257.html#af4d8743272a8eb22e205078faaed38c5">_GetDCEx</a></div><div class="ttdeci">HDC _GetDCEx(HWND hwnd, HRGN hrgnClip, DWORD flags)</div></div>
<div class="ttc" id="aa03665_html_ad12513a3ecd55f55e45f728c09cc8852"><div class="ttname"><a href="a03665.html#ad12513a3ecd55f55e45f728c09cc8852">_GetTextMetricsW</a></div><div class="ttdeci">BOOL _GetTextMetricsW(HDC hdc, LPTEXTMETRICW ptm)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01223">kernel/server.c:1223</a></div></div>
<div class="ttc" id="aa00842_html_a979009868386a45dc6249e9625c5c6db"><div class="ttname"><a href="a00842.html#a979009868386a45dc6249e9625c5c6db">xxxSendMessageFF</a></div><div class="ttdeci">LONG xxxSendMessageFF(PWND pwnd, UINT message, DWORD wParam, LONG lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00842_source.html#l00480">sendmsg.c:480</a></div></div>
<div class="ttc" id="aa02513_html_ab72cd487b50bf4603821a822f4b66374"><div class="ttname"><a href="a02513.html#ab72cd487b50bf4603821a822f4b66374">tagSERVERINFO::apfnClientA</a></div><div class="ttdeci">struct _PFNCLIENT apfnClientA</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00965">user.h:965</a></div></div>
<div class="ttc" id="aa02513_html_aed0baaa7f339f01c2d6c0f907836d75b"><div class="ttname"><a href="a02513.html#aed0baaa7f339f01c2d6c0f907836d75b">tagSERVERINFO::AllMBbtnStrings</a></div><div class="ttdeci">DWORD AllMBbtnStrings[MAX_MB_STRINGS]</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01021">user.h:1021</a></div></div>
<div class="ttc" id="aa03257_html_a811a8682bc5b6c2aa7bd95b81770dda6"><div class="ttname"><a href="a03257.html#a811a8682bc5b6c2aa7bd95b81770dda6">gdwNOIOSectionSize</a></div><div class="ttdeci">DWORD gdwNOIOSectionSize</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00058">kernel/globals.c:58</a></div></div>
<div class="ttc" id="aa00020_html_ad760da1dd81d9e84dee607d18edfde39"><div class="ttname"><a href="a00020.html#ad760da1dd81d9e84dee607d18edfde39">gpsi</a></div><div class="ttdeci">PSERVERINFO gpsi</div><div class="ttdef"><b>Definition:</b> <a href="a00020_source.html#l00039">clglobal.c:39</a></div></div>
<div class="ttc" id="aa03257_html_a77e23e78b8dbc0e72396f584639f0525"><div class="ttname"><a href="a03257.html#a77e23e78b8dbc0e72396f584639f0525">guiOtherWindowCreated</a></div><div class="ttdeci">UINT guiOtherWindowCreated</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00073">kernel/globals.c:73</a></div></div>
<div class="ttc" id="aa03257_html_a9744bfca19a1b2f747cb8816a7685cd8"><div class="ttname"><a href="a03257.html#a9744bfca19a1b2f747cb8816a7685cd8">strDisplayDriver</a></div><div class="ttdeci">UNICODE_STRING strDisplayDriver</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00322">kernel/globals.c:322</a></div></div>
<div class="ttc" id="aa02517_html_a2d6495c3cf7fb3fbdd27638ad3de548e"><div class="ttname"><a href="a02517.html#a2d6495c3cf7fb3fbdd27638ad3de548e">_WNDMSG::abMsgs</a></div><div class="ttdeci">BYTE * abMsgs</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01055">user.h:1055</a></div></div>
<div class="ttc" id="aa03257_html_a80ba37acbd4e889d2a961a861231d269"><div class="ttname"><a href="a03257.html#a80ba37acbd4e889d2a961a861231d269">atomQOS</a></div><div class="ttdeci">ATOM atomQOS</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00275">kernel/globals.c:275</a></div></div>
<div class="ttc" id="aa00833_html_a092f3cef61734c7894362e00cf462bf1"><div class="ttname"><a href="a00833.html#a092f3cef61734c7894362e00cf462bf1">xxxSBWndProc</a></div><div class="ttdeci">LONG xxxSBWndProc(PSBWND psbwnd, UINT message, DWORD wParam, LONG lParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00833_source.html#l02005">sbctl.c:2005</a></div></div>
<div class="ttc" id="aa02521_html_a6b55f74fa034e288f0fa05c160738484"><div class="ttname"><a href="a02521.html#a6b55f74fa034e288f0fa05c160738484">tagSHAREDINFO::DefWindowSpecMsgs</a></div><div class="ttdeci">WNDMSG DefWindowSpecMsgs</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01071">user.h:1071</a></div></div>
<div class="ttc" id="aa00863_html_a2fd1a2f544dbdcbc2ba767e1e8c687d8"><div class="ttname"><a href="a00863.html#a2fd1a2f544dbdcbc2ba767e1e8c687d8">fnHkINLPCWPRETEXSTRUCT</a></div><div class="ttdeci">DWORD fnHkINLPCWPRETEXSTRUCT(PWND pwnd, UINT message, DWORD wParam, DWORD lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00863_source.html#l00440">srvhook.c:440</a></div></div>
<div class="ttc" id="aa02869_html_af0a73901f2264cfe048d588810333935"><div class="ttname"><a href="a02869.html#af0a73901f2264cfe048d588810333935">tagQ::spwndAltTab</a></div><div class="ttdeci">PWND spwndAltTab</div><div class="ttdef"><b>Definition:</b> <a href="a00899_source.html#l02180">userk.h:2180</a></div></div>
<div class="ttc" id="aa03665_html_a213c018b74c5c3ab31e7cb4047a0c3f4"><div class="ttname"><a href="a03665.html#a213c018b74c5c3ab31e7cb4047a0c3f4">USRINIT_SHAREDSECT_SIZE</a></div><div class="ttdeci">#define USRINIT_SHAREDSECT_SIZE</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00030">kernel/server.c:30</a></div></div>
<div class="ttc" id="aa00656_html_ab22bfcb2393ef41f510cfe4b4d917b5a"><div class="ttname"><a href="a00656.html#ab22bfcb2393ef41f510cfe4b4d917b5a">MapDesktop</a></div><div class="ttdeci">VOID MapDesktop(OB_OPEN_REASON OpenReason, PEPROCESS Process, PVOID pobj, ACCESS_MASK amGranted, ULONG cHandles)</div><div class="ttdef"><b>Definition:</b> <a href="a00656_source.html#l01963">desktop.c:1963</a></div></div>
<div class="ttc" id="aa03257_html_a86eaecd79b2d9484dd0587a07e0f7c91"><div class="ttname"><a href="a03257.html#a86eaecd79b2d9484dd0587a07e0f7c91">gpresMouseEventQueue</a></div><div class="ttdeci">PERESOURCE gpresMouseEventQueue</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00170">kernel/globals.c:170</a></div></div>
<div class="ttc" id="aa03665_html_ae16d8ff8c8b1262d8c8a3b9a97bc58e7"><div class="ttname"><a href="a03665.html#ae16d8ff8c8b1262d8c8a3b9a97bc58e7">ROUND_UP_TO_PAGES</a></div><div class="ttdeci">#define ROUND_UP_TO_PAGES(SIZE)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01261">kernel/server.c:1261</a></div></div>
<div class="ttc" id="aa03266_html_aa43121e2fd14c10e80b0025f77eb3a00"><div class="ttname"><a href="a03266.html#aa43121e2fd14c10e80b0025f77eb3a00">DesktopMapping</a></div><div class="ttdeci">GENERIC_MAPPING DesktopMapping</div><div class="ttdef"><b>Definition:</b> <a href="a00839_source.html#l00047">security.c:47</a></div></div>
<div class="ttc" id="aa00644_html_a7f629d5ea5347d4878f63af730734e45"><div class="ttname"><a href="a00644.html#a7f629d5ea5347d4878f63af730734e45">DestroyCacheDC</a></div><div class="ttdeci">BOOL DestroyCacheDC(PDCE *ppdce, HDC hdc)</div><div class="ttdef"><b>Definition:</b> <a href="a00644_source.html#l01486">dc.c:1486</a></div></div>
<div class="ttc" id="aa02513_html_ab6599d31c334db912307ec6e9605fe7e"><div class="ttname"><a href="a02513.html#ab6599d31c334db912307ec6e9605fe7e">tagSERVERINFO::atomIconSmProp</a></div><div class="ttdeci">ATOM atomIconSmProp</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01035">user.h:1035</a></div></div>
<div class="ttc" id="aa03257_html_a117a972d032c15dedc9649d36ac0c02f"><div class="ttname"><a href="a03257.html#a117a972d032c15dedc9649d36ac0c02f">gdwDesktopSectionSize</a></div><div class="ttdeci">DWORD gdwDesktopSectionSize</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00057">kernel/globals.c:57</a></div></div>
<div class="ttc" id="aa03665_html_a13b185a06b3c04ed8425c9448a258aa8"><div class="ttname"><a href="a03665.html#a13b185a06b3c04ed8425c9448a258aa8">szCOMBOLISTBOXCLASS</a></div><div class="ttdeci">LPCWSTR szCOMBOLISTBOXCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00043">kernel/server.c:43</a></div></div>
<div class="ttc" id="aa02557_html"><div class="ttname"><a href="a02557.html">_CALLPROCDATA</a></div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l01247">user.h:1247</a></div></div>
<div class="ttc" id="aa00668_html_a2044646df0d91dd1a54a452a069b5365"><div class="ttname"><a href="a00668.html#a2044646df0d91dd1a54a452a069b5365">InternalPaintDesktop</a></div><div class="ttdeci">BOOL InternalPaintDesktop(PDESKWND pdeskwnd, HDC hdc, BOOL fPaint)</div><div class="ttdef"><b>Definition:</b> <a href="a00668_source.html#l01304">dtbitmap.c:1304</a></div></div>
<div class="ttc" id="aa02481_html_a54248f81a974dad79027dbaf56e6ce66"><div class="ttname"><a href="a02481.html#a54248f81a974dad79027dbaf56e6ce66">tagDISPLAYRESOURCE::xCompressIcon</a></div><div class="ttdeci">WORD xCompressIcon</div><div class="ttdef"><b>Definition:</b> <a href="a00365_source.html#l00454">user.h:454</a></div></div>
<div class="ttc" id="aa00719_html_abadfb326c0062a86c27ca931bd156f80"><div class="ttname"><a href="a00719.html#abadfb326c0062a86c27ca931bd156f80">LW_BrushInit</a></div><div class="ttdeci">VOID LW_BrushInit(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a00719_source.html#l01045">init.c:1045</a></div></div>
<div class="ttc" id="aa00863_html_a2b8f41fd3b27d5a6b6aad86068fbabf2"><div class="ttname"><a href="a00863.html#a2b8f41fd3b27d5a6b6aad86068fbabf2">fnHkINLPCWPEXSTRUCT</a></div><div class="ttdeci">DWORD fnHkINLPCWPEXSTRUCT(PWND pwnd, UINT message, DWORD wParam, DWORD lParam, DWORD xParam)</div><div class="ttdef"><b>Definition:</b> <a href="a00863_source.html#l00417">srvhook.c:417</a></div></div>
<div class="ttc" id="aa00365_html_a53c20597d266d359ab770510e8ff6aff"><div class="ttname"><a href="a00365.html#a53c20597d266d359ab770510e8ff6aff">WND</a></div><div class="ttdeci">struct tagWND WND</div></div>
<div class="ttc" id="aa00824_html_a73f8ccc884e465b0ab2f729c70791cc1"><div class="ttname"><a href="a00824.html#a73f8ccc884e465b0ab2f729c70791cc1">DeleteThreadInfo</a></div><div class="ttdeci">VOID DeleteThreadInfo(PTHREADINFO pti)</div><div class="ttdef"><b>Definition:</b> <a href="a00824_source.html#l01693">queue.c:1693</a></div></div>
<div class="ttc" id="aa03665_html_a3592e492650aea4e68e9dc0d80eb6ae1"><div class="ttname"><a href="a03665.html#a3592e492650aea4e68e9dc0d80eb6ae1">szLISTBOXCLASS</a></div><div class="ttdeci">LPCWSTR szLISTBOXCLASS</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00041">kernel/server.c:41</a></div></div>
<div class="ttc" id="aa03665_html_a349764fdd7b2214824e1a0251ddf44dd"><div class="ttname"><a href="a03665.html#a349764fdd7b2214824e1a0251ddf44dd">InitFunctionTables</a></div><div class="ttdeci">VOID InitFunctionTables(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l00928">kernel/server.c:928</a></div></div>
<div class="ttc" id="aa03665_html_a6ee6de487f7b9dc690a7ed4ba7f4d72b"><div class="ttname"><a href="a03665.html#a6ee6de487f7b9dc690a7ed4ba7f4d72b">InitCreateObjectDirectory</a></div><div class="ttdeci">BOOL InitCreateObjectDirectory(VOID)</div><div class="ttdef"><b>Definition:</b> <a href="a03665_source.html#l01360">kernel/server.c:1360</a></div></div>
<div class="ttc" id="aa03257_html_a4ae1966258068576cf2be4cc7356924b"><div class="ttname"><a href="a03257.html#a4ae1966258068576cf2be4cc7356924b">hModuleWin</a></div><div class="ttdeci">HANDLE hModuleWin</div><div class="ttdef"><b>Definition:</b> <a href="a03257_source.html#l00324">kernel/globals.c:324</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e091ed8704426a7a4980368ba259fde.html">git</a></li><li class="navelem"><a class="el" href="dir_cd70cb5eb491250157f2d55d3ff4b13e.html">backup</a></li><li class="navelem"><a class="el" href="dir_ba2b673b566ba104b956abdc6dec0552.html">org</a></li><li class="navelem"><a class="el" href="dir_5bb0003d7907b45051943541418399f5.html">ntuser</a></li><li class="navelem"><a class="el" href="dir_2a0a56546b70a0973705719e6a88eab3.html">kernel</a></li><li class="navelem"><a class="el" href="a03665.html">server.c</a></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
